Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Android manifest and libararies classnotfound exception

 
jite eghagha
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:






 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic