androiddx

I got a java.lang.NoClassDefFoundError:


even though the class path had the jars I was using, Then I added the jars to dx tool and it gave me java.lang.RuntimeException: Unable to start activity xyz java.lang.RuntimeException:

Stub! You are bundling a stubbed jar in the apk! Please move it to the classpath instead.


Solution

  • I was missing the uses-library entry in the manifest file