I have installed the android ndk and qt 5.2. I launch qtCreator and follow the description on how to make the Notepad demo program. Compilation goes fine, but when I try to run I get the message: “You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.”. I have set this variable:
> env |grep NDK
ANDROID_NDK_ROOT=/opt/android-ndk-r9b/
….. but that changes nothing. I have also run the script setenv-android.sh setting a bunch of parameters, but this also changes nothing. Anyone??
I use Fedora 20.
↧