Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
StArrayJaN committed Oct 26, 2023
1 parent a15f0d3 commit 01496f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

# Resolve links: $0 may be a link

bash setupNDK.sh
sudo bash setupNDK.sh

app_path=$0

Expand Down
12 changes: 6 additions & 6 deletions setupNDK.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo mkdir /usr/local/lib/android/sdk/ndk/
sudo cd /usr/local/lib/android/sdk/ndk/
sudo curl -O https://dl.google.com/android/repository/android-ndk-r23-linux.zip
sudo unzip android-ndk-r23-linux.zip
sudo mv android-ndk-r23 23.0.7599858
mkdir -p /usr/local/lib/android/sdk/ndk/
cd /usr/local/lib/android/sdk/ndk/
curl -O https://dl.google.com/android/repository/android-ndk-r23-linux.zip
unzip android-ndk-r23-linux.zip
mv android-ndk-r23 23.0.7599858
cd $OLDPWD
sudo cp nativelib/*.so /usr/local/lib/android/sdk/ndk/23.0.7599858/build/core/
cp nativelib/*.so /usr/local/lib/android/sdk/ndk/23.0.7599858/build/core/

0 comments on commit 01496f8

Please sign in to comment.