From db5a40d743e8e03f4614ea595997f3e26a0b73fe Mon Sep 17 00:00:00 2001 From: r4sas Date: Tue, 14 Aug 2018 22:39:57 +0300 Subject: [PATCH] enable NTCP2 for android, use L flag for bandwidth, additional change for multiarch build --- android/assets/i2pd.conf | 5 ++++- android/jni/Application.mk | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/android/assets/i2pd.conf b/android/assets/i2pd.conf index 8022b3d9..cf113da2 100644 --- a/android/assets/i2pd.conf +++ b/android/assets/i2pd.conf @@ -15,12 +15,15 @@ ipv6 = false # ntcpproxy = http://127.0.0.1:8118 # ssu = true -bandwidth = O +bandwidth = L # share = 100 # notransit = true # floodfill = true +[ntcp2] +enabled = true + [http] enabled = true address = 127.0.0.1 diff --git a/android/jni/Application.mk b/android/jni/Application.mk index b5b920fa..a7554706 100755 --- a/android/jni/Application.mk +++ b/android/jni/Application.mk @@ -2,7 +2,7 @@ #APP_ABI := armeabi-v7a x86 #APP_ABI := x86 #APP_ABI := x86_64 -APP_ABI := armeabi-v7a +#APP_ABI := armeabi-v7a #can be android-3 but will fail for x86 since arch-x86 is not present at ndkroot/platforms/android-3/ . libz is taken from there. APP_PLATFORM := android-14