My app crashes when setting the minSDK to Jelly Bean

212 Views Asked by At

I have created tensorflow android app and application is still working perfect on lollipop version, i build this app on min sdk lollipop and tested it into marshmallow and nougat but when i convert it into jelly bean 4.1 application got crash and i found this error.

 Caused by: java.lang.ClassNotFoundException: Didn't find class "the.tensorflow.signlanguage.ClassifierActivity" on path: /data/app/the.losers.tensorflow.signlanguage-1.apk
                                                                                  at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
1

There are 1 best solutions below

2
Vikasdeep Singh On

ClassifierActivity.java belongs to demo app of tensorflow for Android.

Tensorflow demo examples support only API level 21 or greater. It will not work with JellyBean.

Check below official information:

The Android SDK and build tools can be downloaded separately or used as part of Android Studio. To build the TensorFlow Lite Android demo, build tools require API >= 23 (but it will run on devices with API >= 21).

Link here