Threat of cash with NoClassDefFoundError on some devices
Dear disapp developers,
I have found out that when I touch the "OK" button on the UI screen shown bellow, the app will crash with NoClassDefFoundError
. After I check the log file, I found the method is Landroid/os/PowerManager.isIgnoringBatteryOptimizations(Ljava/lang/String;)Z
. This method is introduced at API level 23, but the minSDKVeriosn
is set to 16. When I install the app into devices with API level 21 and 22, and then touch the "OK" button, the app will crash with NoClassDefFoundError.
Thank you very much if you can fix this. Hope this information is helpful. :)