Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to diagnose - Java.Lang.RuntimeException: Unable to instantiate activity ComponentInfo

$
0
0

I am using VS2017 with the latest Xamarin updates 15.5.2. I have an application that I was recompiling with one change in some logic. When I attempt to debug the application on a android attached tablet, I get the following error message:

Unhandled Exception:

Java.Lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.sacssoftware.sacsmaint/md58f2d4d6a295913cb92633ff5b036c6a8.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "md58f2d4d6a295913cb92633ff5b036c6a8.MainActivity" on path: DexPathList[[zip file "/data/app/com.sacssoftware.sacsmaint-1/base.apk"],nativeLibraryDirectories=[/data/app/com.sacssoftware.sacsmaint-1/lib/arm, /system/fake-libs, /data/app/com.sacssoftware.sacsmaint-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]

What steps can I take to troubleshoot this problem?

The application previously worked when compiled with the older Xamarin VS releases. I went back to an archived copy of the application when it worked and it still compiles and debugs with the above error. It crashes on the tablet when I attempt to start it outside of the debugger.

Dan


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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