Reputation: 3527
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)
Upvotes: 3
Views: 1830
Reputation: 3527
Found the problem.
I put in build.gradle
multiDexEnabled true
so I had to make my custom Application extend MultiDexApplication
Upvotes: 5