[SOLVED]build and run an Android App in the 2.3.3 version (API 10) with Qt 5.4.1
-
Hello,
(Sorry for my English, I'm French)
I'm currently trying to deploy an app for Android 2.3.7. The smartphone is seen by Qt Creator (it's an old HTC Desire), the building is done correctly but the application crash after the initialisation (about 1-2 sec)... I also tried to launch the app manually, same result. Strangely, the app work on a Samsung galaxy note 10.1 but with an 4.1.2 Android version.
I don't know how to define the API that Qt Creator has to use (I think it could be one cause of this mistake)the build output is success but there is many errors caused by
java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawable
and other Java mistake caused by "android.graphics.drawable.RippleDrawable" and they appear after theI/Qt ( 2629): qt start
.Thanks for your help !
-
-
@SGaist Thanks a lot, but it doesn't work... Even though I changed the API (from API-22 to API-10), I always have the
java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawable
error.Here's the complete application output:
https://docs.google.com/document/d/1OoqaVQWDIYlu8xHPz3Sq5yGfPuvB4DYHeDcnfwElnRE/edit?usp=sharing
-
Do you have API-21 installed ?
See this bug report
-
@SGaist Yes, I have it, but it isn't full install, so I'm trying to install all packages.
I'll keep you aware about the success (or failure) of this change.
This time I wish that it work !
Thanks again for your help -
It work! Thank you so much for your help !
-
You're welcome !
Happy coding !