• 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:






 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!