aspose file tools*
The moose likes Android and the fly likes Android manifest and libararies classnotfound exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Android manifest and libararies classnotfound exception" Watch "Android manifest and libararies classnotfound exception" New topic
Author

Android manifest and libararies classnotfound exception

jite eghagha
Ranch Hand

Joined: Oct 06, 2006
Posts: 127
I have an android project in Eclipse,, where i placed MainActivity.java, and EpsSytem.java

And, a library which I've included in the build path, , which contains, net.authorize.android.aim.AuthCaptureActivity

EpsSytem makes a call to AuthCaptureActivity; and a classnotfound exception was thrown. Interesting part i suppose is this error - "unable to find explicit activity class {com.eghagha.lazylist/net.authorize.android.aim.AuthCaptureActivity}"


My manifest file tag contains









Android ituts
Greenhorn

Joined: Apr 02, 2013
Posts: 4
Do not use the android:name attribute! It, misleadingly, does not have anything to do with the name of your app and is actually the name of an extra class to load before loading your application. That's why you are getting the ClassNotFoundException. Remove it and it should work:






 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Android manifest and libararies classnotfound exception
 
Similar Threads
PostgreSql Connection Error:
Tomcat Class unloading/classnotfound problem
Java inquisition..
ClassNotFoundException while trying to connect to Oracle
Use jar file to run console based program