Skip to content

Commit 7014dfc

Browse files
authored
Update build.sh
1 parent 05779e0 commit 7014dfc

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

build.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
#!/bin/bash
2+
sudo apt-get update && sudo apt-get upgrade -y
3+
sudo apt-get install wget curl vim git zip -y
4+
sudo apt-get install build-essential cmake tofrodos libtool-bin autoconf pkg-config -y
25
sudo mkdir -p /opt/android
36
sudo chown `whoami` /opt/android
47
cd /opt/android
5-
wget https://dl.google.com/android/repository/android-ndk-r15c-linux-x86_64.zip -O android-ndk-r15c-linux-x86_64.zip && echo "f01788946733bf6294a36727b99366a18369904eb068a599dde8cca2c1d2ba3c android-ndk-r15c-linux-x86_64.zip"|sha256sum -c
6-
unzip android-ndk-r15c-linux-x86_64.zip
7-
mv android-ndk-r15c ndk-r15c
8+
wget https://dl.google.com/android/repository/android-ndk-r17c-linux-x86_64.zip -O android-ndk-r17c-linux-x86_64.zip && echo "3f541adbd0330a9205ba12697f6d04ec90752c53d6b622101a2a8a856e816589 android-ndk-r17c-linux-x86_64.zip"|sha256sum -c
9+
unzip -q android-ndk-r17c-linux-x86_64.zip
10+
mv android-ndk-r17c ndk-r17c
811
git clone https://github.com/WooKeyWallet/monero-android-lib.git /tmp/monero-android-lib
912
cd /tmp/monero-android-lib/external-libs/
1013
find . -name "*.sh" -exec chmod +x {} \;
1114
mkdir -p build/src
12-
make all
15+
make all

0 commit comments

Comments
 (0)