Skip to content

Commit a03e5ec

Browse files
committed
jniLibs.srcDirs - not needed anymore
1 parent a24bf80 commit a03e5ec

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

example_app/app/build.gradle

+8-9
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ android {
4040
// libraries Gradle should build and package with your APK.
4141
// need to also have ~ boost binaries built for each abi specified here
4242
// abiFilters 'armeabi-v7a', 'x86', 'x86_64', 'arm64-v8a'
43-
abiFilters 'armeabi-v7a'
43+
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86'
4444
}
4545

4646

@@ -65,20 +65,19 @@ android {
6565
// As a workaround in the meantime, need to add them manually to jniLibs.srcDirs
6666
// Note: This causes ALL *.so files in ABI (eg "armeabi-v7a") subdir of this dir to get packaged into .apk - relative to "app" dir
6767
// If you want to just include those necessary (eg chrono, system) copy/link them to a separate dir, and reference that dir here instead.
68-
jniLibs.srcDirs = [
69-
// should contain any external libs which should be compiled in {armeabi-v7a,arm64-v8a,x86,x86_64,mips} subdirs
70-
my_boost_dir_libs
71-
72-
//, "src/main/JniLibs/boost" // could add additional dirs (with ABI subdirs) to be packaged into apk like this.
73-
// Relative paths like this will be interpreted as relative to "app" dir
74-
]
68+
// jniLibs.srcDirs = [
69+
// // should contain any external libs which should be compiled in {armeabi-v7a,arm64-v8a,x86,x86_64,mips} subdirs
70+
// my_boost_dir_libs
71+
//
72+
// //, "src/main/JniLibs/boost" // could add additional dirs (with ABI subdirs) to be packaged into apk like this.
73+
// // Relative paths like this will be interpreted as relative to "app" dir
74+
// ]
7575
}
7676
}
7777
compileOptions {
7878
sourceCompatibility = 1.8
7979
targetCompatibility = 1.8
8080
}
81-
buildToolsVersion = '29.0.3'
8281

8382

8483
}

0 commit comments

Comments
 (0)