You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new ndk directory is also no longer $ANDROID_HOME/ndk-bundle, but $ANDROID_HOME/ndk/<version>. I guess this is due to the new Sidy-by-side install method, where you can have multiple versions of the ndk installed.
-if ANDROID_NDK environment variables are not set and ANDROID_HOME is set,
then the conditional is expanded to check ndk-bundle first (backwards compatibility)
then if ndk-bundle dir does not exist, to check for ndk side-by-side dir, do a directory listing sorted alphanumeric and the highest version is selected as the path (it contains the source.properties file that is then parsed for version)
If that sounds like an acceptable sketch, this seems like an easy PR to do. What do you think?
The text was updated successfully, but these errors were encountered:
The new
ndk
directory is also no longer$ANDROID_HOME/ndk-bundle
, but$ANDROID_HOME/ndk/<version>
. I guess this is due to the new Sidy-by-side install method, where you can have multiple versions of the ndk installed.Originally posted by @hidde-jan in #168 (comment)
Code reference:
envinfo/src/helpers/sdks.js
Lines 52 to 67 in f1cd4da
Suggest that
-if ANDROID_NDK environment variables are not set and ANDROID_HOME is set,
ndk
side-by-side dir, do a directory listing sorted alphanumeric and the highest version is selected as the path (it contains thesource.properties
file that is then parsed for version)If that sounds like an acceptable sketch, this seems like an easy PR to do. What do you think?
The text was updated successfully, but these errors were encountered: