1
0
mirror of https://github.com/PurpleI2P/i2pd-android.git synced 2025-01-24 13:34:18 +00:00
R4SAS 2a4fa8c036
fix script paths
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-04-29 15:29:27 +03:00
2022-04-29 15:29:27 +03:00
2022-04-13 12:50:31 +03:00
2022-04-29 15:29:27 +03:00
2020-06-06 03:51:41 +03:00
2020-06-06 03:51:41 +03:00
2021-03-17 12:40:52 +03:00
2022-01-28 10:41:57 +00:00
2022-01-28 10:41:57 +00:00
2021-04-25 19:17:35 +03:00
2022-04-13 13:47: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 11+, g++, rename (used for building modules), gradle 5.1+

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

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

https://gradle.org/install/

Download and prepare Android SDK for building

Android SDK Available here:

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

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;31.0.0" "cmake;3.18.1" "ndk;21.4.7075529"

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/21.4.7075529

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

Description
i2pd for Android
Readme BSD-3-Clause 2.1 MiB
Languages
Java 77.6%
Shell 8.3%
C++ 7.1%
Makefile 5%
C 2%