When I test my app on an emulator, (Nexus One API 21) it runs smoothly without fail. However, when I test the app on my own personal phone(Samsung Galaxy S5,Android version 5.0,also API 21), it crashed with a NoClassDefFoundError. This error occurs at a part of the code where I am using an external library from a jar file.(jaudiotagger) Could it be that my own android phone does not have the jdk to support the library? How do I resolve that?
try it but I am not sure whether it will help you :/ In my case worked
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.