mirror of
https://github.com/kdrag0n/safetynet-fix.git
synced 2026-06-02 06:14:11 +02: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:
committed by
Danny Lin
parent
cbb1681064
commit
89a4cf4936
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user