mirror of
https://github.com/PurpleI2P/i2pd-android.git
synced 2025-01-18 18:50:06 +00:00
update readme
This commit is contained in:
parent
ea3c05173e
commit
4ece0bb679
32
README.md
32
README.md
@ -1,19 +1,17 @@
|
|||||||
# how to compile?
|
# i2pd android
|
||||||
## Install the gradle + NDK or use android-studio
|
|
||||||
[https://gradle.org/install/](https://gradle.org/install/)
|
|
||||||
|
|
||||||
## Install the depencies
|
### Install OpenJDK, gradle, download Android SDK and NDK r19c
|
||||||
```
|
https://gradle.org/install/
|
||||||
git clone https://github.com/PurpleI2P/Boost-for-Android-Prebuilt.git -b boost-1_72_0
|
https://developer.android.com/studio#downloads
|
||||||
git clone https://github.com/PurpleI2P/android-ifaddrs.git
|
https://developer.android.com/ndk/
|
||||||
git clone https://github.com/PurpleI2P/OpenSSL-for-Android-Prebuilt.git
|
|
||||||
git clone https://github.com/PurpleI2P/MiniUPnP-for-Android-Prebuilt.git
|
|
||||||
```
|
|
||||||
## Set libs in jni/Application.mk on 24 line:
|
|
||||||
```
|
|
||||||
# change to your own
|
|
||||||
I2PD_LIBS_PATH = /home/user/i2pd/android/
|
|
||||||
```
|
|
||||||
|
|
||||||
## compile apk file
|
### Clone repository with submodules
|
||||||
gradle clean assembleRelease
|
git clone --recurse-submodules https://github.com/r4sas/i2pd-android.git
|
||||||
|
|
||||||
|
### Compile application
|
||||||
|
export ANDROID_SDK_ROOT=/opt/android-sdk
|
||||||
|
export ANDROID_NDK_HOME=/opt/android-ndk-r19c
|
||||||
|
|
||||||
|
gradle clean assembleDebug
|
||||||
|
|
||||||
|
You will find APKs in app/build/outputs/apk
|
@ -1 +1 @@
|
|||||||
../../contrib/certificates
|
../../../jni/i2pd/contrib/certificates
|
Loading…
x
Reference in New Issue
Block a user