Forum Xamarin.Android

Android 7.0.0.18 causes failure on load

I have updated to the latest updates. If I run in Release mode, my app will run, but obviously the breakpoints when debugging don't hit. If I run in debug mode, I get the following with the notorious "Failed to load" message. I have tried turning on Multidex and ProGuard with no luck.

User assembly '/Users/Me/MyApp/MyApp.UITests/bin/Debug/MyApp.UITests.dll' is missing. Debugger will now debug all code, not just user code.

am start -n "com.myapp.acceptance/md5094563be419500f7ca1c45cc04fd49fd.SplashScreen"
Starting: Intent { cmp=com.myapp.acceptance/md5094563be419500f7ca1c45cc04fd49fd.SplashScreen }

[art] Not late-enabling -Xcheck:jni (already on)
[AndroidRuntime] Shutting down VM
[AndroidRuntime] FATAL EXCEPTION: main
[AndroidRuntime] Process: com.myapp.acceptance, PID: 2997
[AndroidRuntime] java.lang.RuntimeException: Unable to instantiate application md5094563be419500f7ca1c45cc04fd49fd.MainApplication: java.lang.ClassNotFoundException: Didn't find class "md5094563be419500f7ca1c45cc04fd49fd.MainApplication" on path: DexPathList[[zip file "/data/app/com.myapp.acceptance-1/base.apk"],nativeLibraryDirectories=[/data/app/com.myapp.acceptance-1/lib/x86_64, /data/app/com.myapp.acceptance-1/base.apk!/lib/x86_64, /vendor/lib64, /system/lib64]]
[AndroidRuntime] at android.app.LoadedApk.makeApplication(LoadedApk.java:578)
[AndroidRuntime] at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4680)
[AndroidRuntime] at android.app.ActivityThread.-wrap1(ActivityThread.java)
[AndroidRuntime] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
[AndroidRuntime] at android.os.Handler.dispatchMessage(Handler.java:102)
[AndroidRuntime] at android.os.Looper.loop(Looper.java:148)
[AndroidRuntime] at android.app.ActivityThread.main(ActivityThread.java:5417)
[AndroidRuntime] at java.lang.reflect.Method.invoke(Native Method)
[AndroidRuntime] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
[AndroidRuntime] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
[AndroidRuntime] Caused by: java.lang.ClassNotFoundException: Didn't find class "md5094563be419500f7ca1c45cc04fd49fd.MainApplication" on path: DexPathList[[zip file "/data/app/com.myapp.acceptance-1/base.apk"],nativeLibraryDirectories=[/data/app/com.myapp.acceptance-1/lib/x86_64, /data/app/com.myapp.acceptance-1/base.apk!/lib/x86_64, /vendor/lib64, /system/lib64]]

Posts

Sign In or Register to comment.