Do not run the application on a real device.
Mobile and Embedded
8
Posts
2
Posters
1.3k
Views
2
Watching
-
The application is written with Qt Quik 2.
If you run an application on a real device using a creator, it works.
If you move .APK to the device, and start from there, does not work.
When you start a black screen appears, and then the application is closed.What could be the problem?
-
Are you sure you copy the right APK file?
-
OK, that sounds good.
And which deployment method do you use (Ministro, bundling Qt libraries, storing Qt libs in temp location)? Any additional, external dependencies?
-
Now In the log is the content:
W/System.err(25453): java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawable ... W/System.err(25453): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/AnimatedStateListDrawable W/System.err(25453): ... 26 more W/System.err(25453): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.graphics.drawable.AnimatedStateListDrawable" on path: DexPathList[[zip file "/data/app/com.myprog.mcm-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.myprog.mcm-2, /vendor/lib, /system/lib]] W/System.err(25453): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
-
Hm, sorry, I don't know what is wrong here.