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

java.lang.RuntimeException: Unable to instantiate activity ComponentInfo java.lang.ClassNotFoundExce

$
0
0

I am receiving the error below when trying to run my application on an emulater targeting API-12

java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{Infinity.Mobile/Infinity.Mobile.LoginActivity}: java.lang.ClassNotFoundException: Infinity.Mobile.LoginActivity in loader dalvik.system.PathClassLoader[/data/app/Infinity.Mobile-1.apk]

Below are a couple of cut outs of the code.

Manifest <?xml version="1.0" encoding="utf-8"?>

Activity [Activity(Label = "Login")] public class LoginActivity : Activity { }

I am currently running the project using VS2012. The app used to work when I was using an older version of VS and Xamarin. I recently downloaded the latest software and am now receiving the error.

I have tried creating a new project and just implementing the main launch activity but I still received the error. I also do not have any third party jar files.

Any help on this error is much appreciated.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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