I got an error message: java.lang.NoClassDefFoundError
I tried to google antidote all day...
Here is a way to work it out but it doesn't match my case.
http://www.tech-recipes.com/rx/826/java-exception-in-thread-main-javalangnoclassdeffounderror/
Eventually, I found my SDK is android 3.0 but my device is android 2.2... (so stupid...)
Check SDK or device version is necessary. :~|
As per my experience java.lang.NoClassDefFoundError occurs when a particular class was present during Compile time but not available during run time by any reason. By including that class into Classpath we can fix NoClassDefFoundError
回覆刪除