I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit c7075c3f authored by str4d's avatar str4d
Browse files

Pull API level from routerjars/AndroidManifest.xml.in

parent 8d4f1b17
No related branches found
No related tags found
No related merge requests found
......@@ -67,9 +67,9 @@ if [ ! -d "$NDK" ]; then
fi
#
# API level, must match that in ../AndroidManifest.xml
# API level, pulled from ../AndroidManifest.xml.in
#
LEVEL=8
LEVEL=$( cat $ROUTERJARS/AndroidManifest.xml.in | grep 'minSdkVersion' | sed 's/^.*minSdkVersion="\([0-9]\+\)".*$/\1/' )
ARCH="arm"
export SYSROOT="$NDK/platforms/android-$LEVEL/arch-$ARCH/"
if [ ! -d "$SYSROOT" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment