How can I specify abiFilters within CodeNameOne project (Configurations of native libraries that Gradle should build and package with the android APK)?
android {
defaultConfig {
ndk {
abiFilters 'armeabi-v7a'
}
}
}
Thanks in advance,
You can inject various things to the gradle build as part of the build process using the various build hints but in this case you just shouldn't...
The "right way" is to create a self contained AAR file which includes the library you need and then just drop it into the android/native
directory. Once it's there your native interface can import the library's Java packages and invoke it directly.