Emulator: emulator: WARNING: UpdateCheck: Failure: Error on android studio - performance

I am facing the "Emulator: emulator: WARNING: UpdateCheck: Failure: Error" when run the emulator after updating my android studio 3.0.1 but it was working fine with previous version.Also I observed that it is working now with low API level(kitakt:19).

For the future record, I had a similar issue right after I updated the SDK constraints. I just deleted all of my emulators and created a new one.

Related

Getting 'Selected scheme "iosApp" does not support "iphonesimulator"' error for Kotlin Multiplatform

I am trying to run the initial example apps generated by the Kotlin Multi Platform Mobile plugin in Android Studio. I followed these steps for my environment setup. The Android Simulator runs correctly, but the iPhone Simulator does not. The Run Configuration has the following error:
Error: Selected scheme "iosApp" does not support "iphonesimulator"
When I run the configuration (ignoring the error), the iPhone simulator does open and appears to load iOS, but it never loads the "Hello, iOS" application that is in Android Studio.
What would cause this?
Version Information:
macOS 12.2.1
Android Studio 2021.1.1 Patch 2
Xcode 13.3
I fixed it with the following method.
Please close the Android Studio.
Go to ~/Library/LaunchAgents/ folder and delete com.jetbrains.AppCode.BridgeService.plist there.
Launch Android Studio with the KMM plugin again. It should work now.
From my tests, it seems that there may be multiple reasons for which we receive this error:
the root folder of the ios project has a different name than the .xcodeproject file. Sometimes it works even if they are different and maybe it matters if we change this name after the frameworks was already connected to the iOS project.
"Other linker flags" were manually copied and they were not copied using the copy button from the Connect the framework to your iOS project. This results to wrong data like:
"$(inherited)",
"-framework",
"shared\n",
instead of
"$(inherited)",
"-framework",
shared,
I managed to fix this by going into Edit Configurations on Android Studio and choosing the location of my XCode project file again. I believe this is an error of the KMM plugin in Android Studio and has yet to be fixed.
Updating Android Studio and KMM plugin worked for me.

Xamarin UITest for Android: POST Failed

With my project upon running UI Tests I get POST Failed error. I can't figure what is the cause of the problem. UITests Post Failed in Xamarin.forms, related to the same issue did not help.
On an actual device I get Instrumentation backend app installed (it runs as a server for UI Tests). But I am still getting POST Failed error.
How to fix this issue?
The problem is related to the Android OS version.
Instrumentation backend application does not work properly on new android os-es.
I created a simulator with older Android OS (Android 6.0 Marshmallow).
And ran UITests with this simulator selected in Visual Studio.
And all things worked.
Hope it will help someone who struggles with the same issue.
Old school things are better than new ones.

Unable to find Android SDK API 28 [Appcelerator Titanium]

I am trying to run my code on Android emulator in Appcelerator Titanium but error comes during compilation time.
Error:
Unable to find Android SDK API 28
I am running this code on latest Titanium SDK version 8.0.0.GA
Screenshot:
I have downloaded Android SDK 28 API and created new Android emulator.
Still not fixed. Help.
If you use appc ti setup android in a terminal is the PATH to your Android SDK correct?
I've also found in the past that there can sometimes be updated agreements that must be accepted in either XCode or Android Studio in order to proceed.
If you downgrade your Titanium SDK version to 7.X will it still build fine?
I faced this issue and nothing helped. Install Android 9.0 (API 28) and things will work like a charm.

Getting Unknown Build error in Visual Studio for Mac

While trying to build a Xamarin.ios project, it gives me Unknown Build Error, for iPhone Device.
While Building for Simulator it builds fine.
The Error i get is somrthing like below.
Error: /Users/admin/Documents/projectdirectory/AppName.app: unknown error -1=ffffffffffffffff
I am using latest Xamarin and Xcode, and MVVM crosslight.
Please help in resolving.
The issue was with certificate. The app was not able to build properly as it wasn't able to find the certificate.
the issue got resolved by just restarting the machine.

Xamarin Forms: native error with Microsoft.Azure.Mobile

Today I added to my project
using Microsoft.Azure.Mobile;
using Microsoft.Azure.Mobile.Analytics;
using Microsoft.Azure.Mobile.Crashes;
I should use Visual Studio Mobile Center but after that I receive an error for 52 times
/Users/enricorossini/Projects/myInventories/myInventories/myInventories.iOS/MTOUCH:
Error MT5209: Native linking error: warning: object file
(/Users/enry/Projects/myInventories/my/my.iOS/obj/iPhone/Debug/build-ipad6.3-10.1.1/mtouch-cache/MobileCenterAnalytics.a(MSPageLog.o))
was built for newer iOS version (8.0) than being linked (7.0) (MT5209)
(my.iOS)
What can I do to resolve it? Thank you in advance.
Our minimum SDK version is iOS 8.0 and above. In your Xamarin iOS project, open Info.plist file and set the "Deployment Target" to be at least 8.0 to fix the linking error.
Ok, I discovered the problem.
In the Application Output I found that
error MT1108: Could not find developer tools for this 10.2 (14C92)
device. Please ensure you are using a compatible Xcode version and
then connect this device to Xcode to install the development support
files.
I updated my iPad with the latest and I didn't update Xcode.

Resources