therecipe / qt

Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
GNU Lesser General Public License v3.0
10.5k stars 748 forks source link

ANDROID_NDK_DIR is being ignored #1198

Open dballard opened 3 years ago

dballard commented 3 years ago

$ cd Android/Sdk/ $ mv ndk-bundle/ ndk-bundle.not.here

---- in project ----

$ export ANDROID_NDK_DIR=/home/dan/Android/Sdk/ndk/18.1.5063045/ $ qtsetup full android ... INFO[0000] ANDROID_NDK_DIR: * '/home/dan/Android/Sdk/ndk/18.1.5063045' ... $ qtdeploy build android ERRO[0001] Failed to read source.properties file of Android NDK _func=ANDROID_NDK_MAJOR_VERSION error="open /home/dan/Android/Sdk/ndk-bundle/source.properties: no such file or directory" source=/home/dan/Android/Sdk/ndk-bundle/source.properties

Expected it would use /home/dan/Android/Sdk/ndk/18.1.5063045/ and be fine

$ ln -sf ndk/18.1.5063045/ ndk-bundle

made it work