mirror of
https://github.com/kdrag0n/safetynet-fix.git
synced 2024-07-05 04:28:45 +00:00
use the standard ANDROID_HOME
variable to locate ndk
ANDROID_HOME is a standard variable in the Android development world. Using it to locate the NDK avoids changing scripts on every machine.
This commit is contained in:
parent
cbb1681064
commit
89a4cf4936
2
build.sh
2
build.sh
|
@ -12,7 +12,7 @@ debug_mode=1
|
||||||
if [[ "$build_mode" == "release" ]]; then
|
if [[ "$build_mode" == "release" ]]; then
|
||||||
debug_mode=0
|
debug_mode=0
|
||||||
fi
|
fi
|
||||||
$HOME/code/android/sdk/ndk/21.4.7075529/ndk-build -j48 NDK_DEBUG=$debug_mode
|
$ANDROID_HOME/ndk/21.4.7075529/ndk-build -j48 NDK_DEBUG=$debug_mode
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd java
|
pushd java
|
||||||
|
|
Loading…
Reference in New Issue
Block a user