Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problem when deploying app into android device
md612 last edited by
I encountered a problem when I click 'Build' button for the android project. The error message showed that ":-1: error: Cannot run target compiler 'C:\Android\android-ndk-r16b-windows-x86_64\android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++'. Maybe you forgot to setup the environment?"
When I click 'Run' to the project, the error message showed that "Cannot find the androiddeploy Json file.
Error while building/deploying project PhotoViewer (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.9.3 for Android armv7))
When executing step "Deploy to Android device"".
I have spent a long time on fixing these error, but cannot find any solutions. Please help me.
Leonardo last edited by
You should use the NDK version 10e. That's the recommended one.