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 c2f4d2e commit a15f0d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
# Attempt to set APP_HOME

# Resolve links: $0 may be a link
sudo mkdir -p /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/

bash setupNDK.sh

app_path=$0

Expand Down
7 changes: 7 additions & 0 deletions setupNDK.sh
Original file line number Diff line number Diff line change
@@ -0,0 +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
cd $OLDPWD
sudo cp nativelib/*.so /usr/local/lib/android/sdk/ndk/23.0.7599858/build/core/

0 comments on commit a15f0d3

Please sign in to comment.