Solved Can't compile Android apps with new 5.13 Qt
-
I use to be able to compile and create android apps. Now with the latest version of Qt I cannot do this anymore. I consistently see an llvm-strip (or something like that) error. Missing file. What versions of Qt go with what versions of SDK, etc?
-
Hi,
It's explain in the Android Getting Started chapter of Qt's documentation.
-
@sgaist Thanks for that link. I didn't realize I had to read that all over again since most times I would just update my repository with the maintenance tool. I have downloaded older versions to see where the breakdown occurred and it seems after 5.12.0.
-
I looked at the webpage and doesn't have anything new for me try. I keep getting missing exe files when using later versions of Qt for Android. llvm-strip.exe I believe.
-
What NDK do you have currently installed ?
-
@sgaist For now I have 17c as that was the only NDK which seemed to work. I will be trying the latest on 5.12.+ versions. I am trying to get the Android 8 versions to work as I was building on the 7 version before.
-
Grrrrrrrrrr! Android 8 won't even allow me to install my own app! WTF!?
-
@mr_ada
and you did enable apks from other sources or whatever its called in
android 8? -
@mrjj Yes I do have that enabled. When I tried to install the app it just doesn't give me an option to install it. It decides for me to not install it.
-
IIRC, NDK r19 should be working correctly with Qt 5.12, for earlier versions NDK r10e is recommended.
-
@sgaist Ok. I'll try that as I haven't tried that combination before. I also was able to install my app, just had to reboot the phone!
-
@sgaist I tried Qt 5.12.1 (V8a) and NDK 19c, and got an error about a missing "llvm-strip.exe" file.
-
Based on what I have been doing 5.13.0 and NDK 19c seem to compile and build for V7A. V8 is 5.12.0 and NDK 17c.