Do not run the application on a real device.
-
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?
-
I copy name-debug.apk.
The program that creates a QtCreator on the device separately, too, does not start
-
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?
-
I use "bundling Qt libraries".
also to the project added "google-play-services_lib" with help file "project.properties" which is located in the dir "android". It comes from the old versions so nobody touches
-
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.
-
The problem was in the outdated files in directory android