The mess of the Android tools
-
Hello everybody
I just installed Qt in my Linux box to develop a simple Android app and I have got to run the app in my Android 9 phone. Now, I am trying to run the same app in a old Android 4.1.2 phone, for now without success. The question is that I don't understand exactly all these acronyms, Android tool mess, JDK, SDK, NDK, Android SDK Tools, Android Images, Android simulator, Android API, Android Platforms and his relationship with Qt versions with hardcoded SDK.
I'm messed up so I don't know what I need to install to compile and run the app in Android 4.1.2.Is there a simple explanation for all these concepts and their relationships?
Thanks in advance
-
@Jose-LZ said in The mess of the Android tools:
I'm messed up so I don't know what I need to install to compile and run the app in Android 4.1.2.
Qt does not support Android 4. You can stop trying ;-)
Last version to support Android 4.1 was Qt 5.12.
Is there a simple explanation for all these concepts and their relationships?
No, it's a mess unfortunately. My recommendation (backed by a lot of errors, cursing and annoyance) - if you find a combination which works, stick to it. Do not update NDK, SDK, Qt unless you are forced to.
Documentation has some guidelines: https://doc.qt.io/qt-5/android-getting-started.html
-
Thanks for your good advice. I have got compile and run in Android 4.1 installing Qt 5.12 with some evident patch in AndroidManifest.xml.
The documentation in https://doc.qt.io/qt-5/android-getting-started.html is only a list of thinks but does not explain what each element is.
For now, it works.
Thanks
-
@Jose-LZ said in The mess of the Android tools:
The documentation in https://doc.qt.io/qt-5/android-getting-started.html is only a list of thinks but does not explain what each element is.
You are more than welcome to contribute additions/clarifications to such document so others users could benefit from your experience :-)