1
0
mirror of https://github.com/PurpleI2P/i2pd-android.git synced 2025-01-08 22:07:57 +00:00
i2pd for Android
Go to file
R4SAS 328502fd19 add pre-2.41.0 changelog
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-02-16 16:24:19 +03:00
.github/workflows update gradlew, gh action 2022-01-28 10:41:57 +00:00
app [i2pd] update to trunk 2022-02-16 16:24:19 +03:00
binary/jni update libraries, add binary build files 2022-02-08 19:29:39 +00:00
fastlane/metadata/android add pre-2.41.0 changelog 2022-02-16 16:24:19 +03:00
gradle/wrapper update gradlew, gh action 2022-01-28 10:41:57 +00:00
.gitignore import android code from i2pd repo 2020-06-06 03:51:41 +03:00
.gitmodules [jni] switch to build from sources (#32) 2022-01-27 17:39:30 +03:00
build.gradle update gradle, add NetworkCallback support 2020-10-20 22:42:52 +03:00
build.xml import android code from i2pd repo 2020-06-06 03:51:41 +03:00
gradle.properties fix start on API lesser 21 2021-03-17 12:40:52 +03:00
gradlew update gradlew, gh action 2022-01-28 10:41:57 +00:00
gradlew.bat update gradlew, gh action 2022-01-28 10:41:57 +00:00
LICENSE upload license 2021-04-25 19:17:35 +03:00
README.md readme: cmake 3.18.1 2022-02-08 19:31:06 +00:00
settings.gradle i2pd 2.33.0-63, tabulation, gradle configuration 2020-10-15 04:31:35 +03:00

GitHub release License Android CI

i2pd android

This repository contains Android application sources of i2pd

Get it on F-Droid

How to build

Install OpenJDK, g++, rename (used for building modules), gradle 5.1+, download Android SDK

sudo apt-get install g++ rename gradle

Android SDK Available here:

https://developer.android.com/studio#downloads

If your system provides gradle with version < 5.1, download it from gradle homepage:

https://gradle.org/install/

Prepare Android SDK for building

Download Android SDK, unpack it to any directory (/opt/anrdoid-sdk for example) and install required packages

mkdir /opt/android-sdk
cd /opt/android-sdk
wget https://dl.google.com/android/repository/commandlinetools-linux-8092744_latest.zip
unzip commandlinetools-linux-8092744_latest.zip
# install required tools
./cmdline-tools/bin/sdkmanager --sdk_root=/opt/android-sdk "build-tools;29.0.3" "cmake;3.18.1" "ndk;23.1.7779620"

Clone repository with submodules

git clone --recurse-submodules https://github.com/PurpleI2P/i2pd-android.git

Compile application

export ANDROID_SDK_ROOT=/opt/android-sdk
export ANDROID_NDK_HOME=$ANDROID_SDK_ROOT/ndk/23.1.7779620

pushd app/jni
./build_boost.sh
./build_openssl.sh
./build_miniupnpc.sh
popd

gradle clean assembleDebug

You will find APKs in app/build/outputs/apk