I'm building an application using Xamarin.Forms. It successfully runs on iOS, although, on Android crashes when I try to launch it.
According to the debugging:
- Builds successfully
- Deploys successfully
- Fails when I try to launch
Here is the output from the application:
am start -n "com.xamarin.app/md53ed91cd16174c53d73a3021495ff3392.MainActivity"
Starting: Intent { cmp=com.xamarin.app/md53ed91cd16174c53d73a3021495ff3392.MainActivity }
[libprocessgroup] failed to make and chown /acct/uid_10065: Read-only file system
[Zygote] createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
[art] Not late-enabling -Xcheck:jni (already on)
[AndroidRuntime] Shutting down VM
[AndroidRuntime] FATAL EXCEPTION: main
[AndroidRuntime] Process: com.xamarin.app, PID: 3563
[AndroidRuntime] java.lang.RuntimeException: Unable to get provider mono.MonoRuntimeProvider: java.lang.RuntimeException: Unable to find application Mono.Android.Platform.ApiLevel_24 or Xamarin.Android.Platform!
[AndroidRuntime] at android.app.ActivityThread.installProvider(ActivityThread.java:4967)
[AndroidRuntime] at android.app.ActivityThread.installContentProviders(ActivityThread.java:4559)
[AndroidRuntime] at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4499)
[AndroidRuntime] at android.app.ActivityThread.access$1500(ActivityThread.java:144)
[AndroidRuntime] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339)
[AndroidRuntime] at android.os.Handler.dispatchMessage(Handler.java:102)
[AndroidRuntime] at android.os.Looper.loop(Looper.java:135)
[AndroidRuntime] at android.app.ActivityThread.main(ActivityThread.java:5221)
[AndroidRuntime] at java.lang.reflect.Method.invoke(Native Method)
[AndroidRuntime] at java.lang.reflect.Method.invoke(Method.java:372)
[AndroidRuntime] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
[AndroidRuntime] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
[AndroidRuntime] Caused by: java.lang.RuntimeException: Unable to find application Mono.Android.Platform.ApiLevel_24 or Xamarin.Android.Platform!
[AndroidRuntime] at mono.MonoRuntimeProvider.attachInfo(MonoRuntimeProvider.java:38)
[AndroidRuntime] at android.app.ActivityThread.installProvider(ActivityThread.java:4964)
[AndroidRuntime] ... 11 more
[AndroidRuntime] Caused by: android.content.pm.PackageManager$NameNotFoundException: Xamarin.Android.Platform
[AndroidRuntime] at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:281)
[AndroidRuntime] at mono.MonoRuntimeProvider.attachInfo(MonoRuntimeProvider.java:32)
[AndroidRuntime] ... 12 more
[Process] Sending signal. PID: 3563 SIG: 9
Any help would be appreciated!
edit: Here are my current Android configurations
Virtual Device: i.stack.imgur.com/HhY92.png
Manifest: i.stack.imgur.com/VVnuo.png
Target Framework: i.stack.imgur.com/GGePP.png