java.lang.NoClassDefFoundError: org.joda.time.DateTime
问题 Getting this error when starting the app on android 4.3 API 18. There are no compilation errors, and library is added in build.gradle compile 'joda-time:joda-time:2.9.2' On android api 23 works with no problems, but on this device the app crashes on start. Any idea why? ( already tried to clean, rebuild, etc) 回答1: Found the problem. I put in build.gradle multiDexEnabled true so I had to make my custom Application extend MultiDexApplication 来源: https://stackoverflow.com/questions/36698452/java