I want to add 64 bit compatibility to my current android app currently 32 bit using android studio. I already go through the https://developer.android.com/distribute/best-practices/develop/64-bit#building_with_android_studio_or_gradle.
i need to change code in build gradle
file but when i build the app and suppose to have arm64-v8a
and/or x86_64
but don't have.
Can someone clarify to me how the exact steps?
Here is screenshot of my plugin and .so file of my app i am using ionic 1 and build app from android studio
build.gradle
apply plugin: 'com.android.app'
android {
compileSdkVersion 27
defaultConfig {
appId "com.google.example.64bit"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
// ...reference
productFlavors {
armeabi {
versionCode defaultConfig.versionCode*10 + 1
ndk {
abiFilters = ["armeabi"]
}
}
armv7 {
versionCode defaultConfig.versionCode*10 + 2
ndk {
abiFilters = ["armeabi-v7a"]
}
}
arm64 {
versionCode defaultConfig.versionCode*10 + 3
ndk {
abiFilters = ["arm64-v8a"]
}
}
x86 {
versionCode defaultConfig.versionCode*10 + 4
ndk {
abiFilters = ["x86"]
}
}
x86_64 {
versionCode defaultConfig.versionCode*10 + 5
ndk {
abiFilters = ["x86_64"]
}
}
}