mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
Update build_notes_android.md
This commit is contained in:
parent
953d78da9e
commit
b64b5d9103
|
@ -6,16 +6,9 @@ Pre-requesties
|
|||
|
||||
You need to install Android SDK, NDK and QT with android support.
|
||||
|
||||
SDK (choose command line tools only)
|
||||
https://developer.android.com/studio/index.html
|
||||
NDK
|
||||
https://developer.android.com/ndk/downloads/index.html
|
||||
|
||||
QT
|
||||
https://www.qt.io/download-open-source/
|
||||
Choose one for your platform for android
|
||||
For example QT 5.6 under Linux would be
|
||||
http://download.qt.io/official_releases/qt/5.6/5.6.1-1/qt-opensource-linux-x64-android-5.6.1-1.run
|
||||
- [SDK](https://developer.android.com/studio/index.html) (choose command line tools only)
|
||||
- [NDK](https://developer.android.com/ndk/downloads/index.html)
|
||||
- [QT](https://www.qt.io/download-open-source/). Choose one for your platform for android. For example QT 5.6 under Linux would be [this file](http://download.qt.io/official_releases/qt/5.6/5.6.1-1/qt-opensource-linux-x64-android-5.6.1-1.run )
|
||||
|
||||
You also need Java JDK and Ant.
|
||||
|
||||
|
@ -29,17 +22,19 @@ Android for armeabi-v7a (gcc, qt) and Android for x86 (gcc, qt).
|
|||
Dependencies
|
||||
--------------
|
||||
Take following pre-compiled binaries from PurpleI2P's repositories.
|
||||
```bash
|
||||
git clone https://github.com/PurpleI2P/Boost-for-Android-Prebuilt.git
|
||||
git clone https://github.com/PurpleI2P/OpenSSL-for-Android-Prebuilt.git
|
||||
git clone https://github.com/PurpleI2P/MiniUPnP-for-Android-Prebuilt.git
|
||||
git clone https://github.com/PurpleI2P/android-ifaddrs.git
|
||||
```
|
||||
|
||||
|
||||
Building the app
|
||||
----------------
|
||||
Open qt/i2pd_qt/i2pd_qt.pro in the QT-creator.
|
||||
Change line MAIN_PATH = /path/to/libraries to actual path where did you put the dependancies to.
|
||||
Select appropriate project (usually armeabi-v7a) and build.
|
||||
You will find an .apk file in android-build/bin folder.
|
||||
- Open qt/i2pd_qt/i2pd_qt.pro in the QT-creator.
|
||||
- Change line MAIN_PATH = /path/to/libraries to actual path where did you put the dependancies to.
|
||||
- Select appropriate project (usually armeabi-v7a) and build.
|
||||
- You will find an .apk file in android-build/bin folder.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue