Having issues with building QT for Android, QT 5.10/QTCr 4.5.0/Win7/JDK8
Having issues with building QT project for Android, QT 5.10/QTCr 4.5.0/Win7/JDK 8
Android settings are OK. (SDK Version: 26.1.1, NDK Version: 10.4.0)
It seems to be building stuff, but when goes to deployment, I have error:
Cannot find the android build step.
Error while building/deploying project BTRemote (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.10.0 for Android armv7))
When executing step "Deploy to Android device"
It looks like gradle wrapper is missing? Look like necessary build steps completely missing....
But it all installed fresh, and I cannot wrap my mind why it is such pain to setup :(
How can I make it work now? How can I troubleshoot this?
Solved by @casdevel:
maybe 'QmakeAndroidSupport' plugin is not enabled? You can see/change that from 'Installed Plugins' dialog (Main Menu->Help->About Plugins). Note that this option is hidden by default, check 'Show all' check box to make it visible.
@xchg.ca Are you building Qt for Android or an app?
@jsulm Trying to Run App on android device. Sorry if I was not clear on that one
@raven-worx Thank you for the reply. But "Build Android APK" is completely missing. This is what I meant when I say build step i missing. ( I did not know the right name )
Hey guys, if this is too complex so may be there is Step by Step guide how to install QT 5.10 for Android for Windows and make it actually work ?
I did follow existing doc but this is where I endup - it does not work.
Anyone ? Or I better use Ubuntu ?
@xchg.ca You also need to install Android Studio to get gradle. Myself, I have installed android-studio-ide-145.3001415-windows.zip, which is not nearly the latest version if I remember corretly.
Yes, the whole installation thing is a terrible mess...
The installation can be painful because Google tends to change and move around things in its SDK and NDK without any warning. Therefore, it's important to check the platform constraints/recommandations and known issues.
@xchg-ca maybe 'QmakeAndroidSupport' plugin is not enabled? You can see/change that from 'Installed Plugins' dialog (Main Menu->Help->About Plugins). Note that this option is hidden by default, check 'Show all' check box to make it visible.
@casdevel Dude !!! That did it ! I had no idea it was disabled. Thank you very much !