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 8dba5a00e5
[i18n] pull updates
2 weeks ago
.github/workflows [gha] update workflow 2 months ago
app [i18n] pull updates 2 weeks ago
binary/jni fix binary build 2 years ago
contrib/binary_pack fix script paths 2 years ago
fastlane/metadata/android [i18n] pull updates 2 weeks ago
gradle/wrapper fix permissions asker activity start on some android 11+ devices 1 year 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 2.46.1 1 year ago
build.gradle fix permissions asker activity start on some android 11+ devices 1 year 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


GitHub release License Android CI

i2pd android

This repository contains Android application sources of i2pd

Get it on F-Droid

How to build

Install g++, OpenJDK 11+, gradle 5.1+

sudo apt-get install g++ openjdk-11-jdk gradle

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


Download and prepare Android SDK for building

Android SDK Available here:


Download Android SDK, unpack it to temporary directory /tmp/anrdoid-sdk and install it (in /opt/android-sdk for example) with required packages

mkdir /tmp/android-sdk
cd /tmp/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;33.0.1" "cmake;3.22.1" "ndk;23.2.8568313"

Clone repository with submodules

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

Compile application

# if you are not using Java 11 by default:
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64

export ANDROID_HOME=/opt/android-sdk
export ANDROID_NDK_HOME=$ANDROID_HOME/ndk/23.2.8568313

pushd app/jni

gradle clean assembleDebug

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

Building on Windows

For building on Windows you must use MSYS2 with mingw64 or ucrt64 shell and preinstalled gcc ( package mingw-w64-x86_64-gcc or mingw-w64-ucrt-x86_64-gcc).

Java 11 can be downloaded from jdk.java.com

Download Android SDK command line tools for Windows, unpack and install it replacing --sdk_root= path.

ANDROID_HOME variable must point to SDK using linux-way path, like /c/dev/android-sdk when SDK installed to C:\dev\android-sdk.

Gradle can be called with ./gradlew command inside project root, or you can install it using pacman and call gradle like on linux.

Release signing

Current releases signed with certificate fingerprint (SHA-256):