Browse Source

enable NTCP2 for android, use L flag for bandwidth,

additional change for multiarch build
pull/1226/head
R4SAS 6 years ago
parent
commit
db5a40d743
  1. 5
      android/assets/i2pd.conf
  2. 2
      android/jni/Application.mk

5
android/assets/i2pd.conf

@ -15,12 +15,15 @@ ipv6 = false
# ntcpproxy = http://127.0.0.1:8118 # ntcpproxy = http://127.0.0.1:8118
# ssu = true # ssu = true
bandwidth = O bandwidth = L
# share = 100 # share = 100
# notransit = true # notransit = true
# floodfill = true # floodfill = true
[ntcp2]
enabled = true
[http] [http]
enabled = true enabled = true
address = 127.0.0.1 address = 127.0.0.1

2
android/jni/Application.mk

@ -2,7 +2,7 @@
#APP_ABI := armeabi-v7a x86 #APP_ABI := armeabi-v7a x86
#APP_ABI := x86 #APP_ABI := x86
#APP_ABI := x86_64 #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. #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 APP_PLATFORM := android-14

Loading…
Cancel
Save