i2pd for Android
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
R4SAS 92324f84b0
[fastlane] fix typo
2 years ago
.github/workflows update gradlew, gh action 2 years ago
app [fastlane] fix typo 2 years ago
fastlane/metadata/android [fastlane] fix typo 2 years ago
gradle/wrapper update gradlew, gh action 2 years ago
.gitignore import android code from i2pd repo 4 years ago
.gitmodules [jni] switch to build from sources (#32) 2 years ago
LICENSE upload license 3 years ago
README.md Update README.md 2 years ago
build.gradle update gradle, add NetworkCallback support 4 years ago
build.xml import android code from i2pd repo 4 years ago
gradle.properties fix start on API lesser 21 3 years ago
gradlew update gradlew, gh action 2 years ago
gradlew.bat update gradlew, gh action 2 years ago
settings.gradle i2pd 2.33.0-63, tabulation, gradle configuration 4 years ago

README.md

GitHub release License Android CI

i2pd android

This repository contains Android application sources of i2pd

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.10.2.4988404" "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