1.4 KiB
I2P-Bote for Android
Bote is an Android port of I2P-Bote.
Build process
Preparation
-
Install I2P. You need the installed libraries to build against.
-
Download the Android SDK. The simplest method is to download Android Studio.
-
Check out the
i2p.i2p-boteandi2p.i2p-bote.androidrepositories. -
Create a
local.propertiesfile ini2p.i2p-bote.android/appcontaining:i2pbase=/path/to/installed/i2p botesrc=/path/to/i2p.i2p-bote -
Gradle will pull dependencies over the clearnet by default. To use Tor, create a
gradle.propertiesfile ini2p.i2p-bote.androidcontaining:systemProp.socksProxyHost=localhost systemProp.socksProxyPort=9150
Building from the command line
-
Create a
local.propertiesfile ini2p.i2p-bote.androidcontaining:sdk.dir=/path/to/android-studio/sdk -
./gradlew assembleDebug -
The APK will be placed in
i2p.i2p-bote.android/app/build/apk.
Building with Android Studio
-
Import
i2p.i2p-bote.androidinto Android Studio. (This creates thelocal.propertiesfile automatically). -
Build and run the app (
Shift+F10).
Signing release builds
-
Create a
signing.propertiesfile ini2p.i2p-bote.androidcontaining:STORE_FILE=/path/to/android.keystore STORE_PASSWORD=store.password KEY_ALIAS=key.alias KEY_PASSWORD=key.password -
./gradlew assembleRelease