Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Can no longer run Android applications using Xamarin 4.2 and Xamarin.Android 4.10.1

$
0
0

I can no longer run Xamarin Android applications after recent update(s). The app fails to deploy or crashes immediately upon start. I've tried on multiple emulators (Android SDK emulator and GenyMotion) and existing and brand-new empty projects.

When deploying using fast assembly deployment, I get the following:

Detecting installed packages Installing application on device Synchronizing assemblies Deployment failed because the FastDev assembly directory could not be created. **Deployment failed. FastDev directory creation failed.

When disabling FastDev, I instead get the following application output (along with a 'XXX has crashed' in the emulator):

[AndroidRuntime] Shutting down VM [AndroidRuntime] FATAL EXCEPTION: main [AndroidRuntime] java.lang.RuntimeException: Unable to get provider mono.MonoRuntimeProvider: java.lang.RuntimeException: Unable to find application Mono.Android.DebugRuntime or Mono.Android.Platform.ApiLevel_19! [AndroidRuntime] at android.app.ActivityThread.installProvider(ActivityThread.java:4882) [AndroidRuntime] at android.app.ActivityThread.installContentProviders(ActivityThread.java:4485) [AndroidRuntime] at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4425) [AndroidRuntime] at android.app.ActivityThread.access$1300(ActivityThread.java:141) [AndroidRuntime] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316) [AndroidRuntime] at android.os.Handler.dispatchMessage(Handler.java:99) [AndroidRuntime] at android.os.Looper.loop(Looper.java:137) [AndroidRuntime] at android.app.ActivityThread.main(ActivityThread.java:5103) [AndroidRuntime] at java.lang.reflect.Method.invokeNative(Native Method) [AndroidRuntime] at java.lang.reflect.Method.invoke(Method.java:525) [AndroidRuntime] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) [AndroidRuntime] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) [AndroidRuntime] at dalvik.system.NativeStart.main(Native Method) [AndroidRuntime] Caused by: java.lang.RuntimeException: Unable to find application Mono.Android.DebugRuntime or Mono.Android.Platform.ApiLevel_19! [AndroidRuntime] at mono.MonoRuntimeProvider.attachInfo(MonoRuntimeProvider.java:30) [AndroidRuntime] at android.app.ActivityThread.installProvider(ActivityThread.java:4879) [AndroidRuntime] ... 12 more **[AndroidRuntime] Caused by: android.content.pm.PackageManager$NameNotFoundException: Mono.Android.Platform.ApiLevel_19 [AndroidRuntime] at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:226) [AndroidRuntime] at mono.MonoRuntimeProvider.attachInfo(MonoRuntimeProvider.java:22) [AndroidRuntime] ... 13 more

The project minimum API level is 14 and the target API level is the target framework version, which is listed as 4.3. Interestingly, I do have 4.4 (API 19) SDK installed, and it appears from the stack above that level 19 is being targeted.

What gives?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>