I've created an App via Android Studio, full Java code, and generated the app bundle (.aab) and uploaded the .aab file in Google Play Console. At new release creation, I receive the 64 bit incompatibility error. I donno why I uses to receive this error, as my application has no native code (NDK). I've read all Google Developer documentation related to 64 bit. I've run the APK Analyzer and the result is the following:
As you can check, no .so
files has been detected.
The following is the build gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "XX.XX.app"
minSdkVersion 21
targetSdkVersion 29
versionCode 11
versionName "1.1.10"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
//64 bit devices support
/*ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'*/
}
buildTypes {
debug {
resValue "string", "default_server_name", "XX.XX.XX"
debuggable true
}
release {
resValue "string", "default_server_name", "XX.XX.XX"
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
//Build variants
flavorDimensions 'content'
productFlavors {
XXXX {
dimension = 'content'
}
XXXX {
dimension = 'content'
applicationId = 'XX.XX.XX.app'
}
XXXX {
dimension = 'content'
applicationId = 'XX.XX.XX.XX.app'
}
}
}
dependencies {
// Base
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.1.0-beta01'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
// Views
implementation 'androidx.recyclerview:recyclerview:1.1.0-beta05'
implementation 'androidx.cardview:cardview:1.0.0'
// ViewModel and LiveData
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0-beta01'
// Java8 support for Life cycles
implementation 'androidx.lifecycle:lifecycle-common-java8:2.2.0-beta01'
// ButterKnife lib (annotations)
implementation 'com.jakewharton:butterknife:10.2.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
// Bluetooth devices libs
implementation files('libs/xxxx.jar')
implementation files('libs/xxxx.jar')
implementation files('libs/xxxx.jar')
implementation files('libs/xxxx.jar')
implementation files('libs/xxxx.jar')
// Utility libs
implementation 'org.greenrobot:eventbus:3.1.1'
implementation 'com.android.volley:volley:1.1.1'
implementation 'net.danlew:android.joda:2.10.1.2'
implementation 'com.jakewharton.timber:timber:4.7.1'
implementation 'com.squareup:otto:1.3.8' //mandatory for Bewell devices
// Graph libs
implementation 'pl.pawelkleczkowski.customgauge:CustomGauge:1.0.4'
implementation 'io.apptik.widget:multislider:1.3'
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
// Calendar lib
implementation 'com.github.prolificinteractive:material-calendarview:2.0.1'
// Must be removed -> temp fix for issue https://github.com/prolificinteractive/material-calendarview/issues/947
implementation 'com.jakewharton.threetenabp:threetenabp:1.2.1'
}
The XX stands for customer's privacy.
I've executed the build with the following part commented and uncommented.
//64 bit devices support
/*ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'*/
but the error is still the same.
Could anyone help me or gimme a suggestion?
UPDATE: in my project I've a .bc
file. I've read in this post that could be the cause of my issue. I'm going to investigate about this.
I've a quite similar project which has been successfully loaded in GPC. This project imports the following libs: butterknife, eventbus, joda, timber, calendarview, threetenabp, MPAndroidChart which can be considered "64 bit ok".
Thanks