Thursday, February 27, 2014

Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable

If you received such error message when build a Qt application for Android within Qt Creator, the simple solution is to export the ANDROID_NDK_ROOT environment variable pointing to the folder where you have uncompressed the Android NDK bundle. Then run Qt Creator again and the build should continue without issues.


The system cannot find the path specified.
Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.

Could not read qmake configuration file C:/Qt/Qt5.2.0/5.2.0/android_armv7/mkspecs/android-g++/qmake.conf.

No comments:

Post a Comment