Converting 32-bit android Applications to 64-bit Applications - android

when i try to upload my up to google play i receive this erreur
Error
This release is not compliant with the Google Play 64-bit requirement
The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 6.
Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app.

yes, the issue is you have not updated your library in Gradle some of your libraries still build in native 32-bit that's why u are getting this issue to fix this see all folders have the same no of file. And update ur Gradle libraries

Related

Error while uploading unity app to Play Store

I have made a game for Android. I have develop and built it in Unity but when I try to distribute the game to the play store I get the following error:
This release is not compliant with the Google Play 64-bit requirement
The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 3.
Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app. Learn More
Can someone help with this?
In the Player Settings window, under the Other Settings tab, there are checkboxes for what target architectures your app supports. Uncheck the x86 one, if it's there (that depends on your Unity version), and make sure both ARMv7 and ARM64 are checked.
For x86, Unity supports only 32 bits. So if you check that target, the Play Store will complain that no 64 bits version is provided for the x86 platform.

Error found "This release is not compliant with the Google Play 64-bit requirement(Opencv lib)"

The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 5.
Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app
Found this error while upload APK on play store.
We have use OpenCV Lib for image reorganization.
Can anybudy help to resolve this issue?
Thanks in advance.
Error came because Opencv Lib have only 32bit and possible to not have 64bit lib of Opencv in your project. So, please check your project(app/src/main/jniLibs) check this below folder
armeabi-v7a(32bit)
and
arm64-v8a(64bit)
may be this one is missing.

Error message on google console during review apk "This releaese is not compliant with the Google Play 64 bit requirement"

The following APKs OR App bundles are available to 64-bit devices, but they only have 32-bit native code:2.
Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing formate to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app.
Try this info. And please say what exactly you are asking for
https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html

While trying to upload an apk to google play console i get an error and warning message

Error while trying to upload a apk file
Tried changing version code
Error Message
This release is not compliant with the Google Play 64-bit requirement
The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 6.
Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app
Warning Message
Unoptimized APK
Warning:
This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimizing your app for device configurations, your app is larger to download and install on users' devices than it needs to be. Larger apps see lower install success rates and take up storage on users' devices.
Resolution:
Use the Android App Bundle to automatically optimize for device configurations, or manage it yourself with multiple APKs.
Help me upload the apk
Your app relies on native libraries, either code you compiled or from external dependencies. From the error message, it looks like you are providing only native libraries in 32-bit (e.g. armeabi-v7a, x86) and it is now required to also provide native libraries in 64-bit (e.g. arm64-v8a, x86_64).
Make sure you compile for the 64-bit ABIs, or depend on libraries that support 64-bit.

Google warns developer to include 64-bit version for Android app

Google is warning developers that starting Aug 1, 2019, all apps must be 64-bit.
I use Cordova to build our web app into an Android app and upload the generated 32-bit APK file into google play store
The Cordova crosswalk plugin allow me to build both 32-bit and 64-bit versions using the commands cordova build android --release and cordova build android --release --xwalk64bit respectively.
I used the same android version code for both the APKs when build
Questions:
Earlier I used to upload only the 32-bit version into the play store(Production Track). Right now, Since I have both 32-bit and 64-bit versions of APKs, should I upload both of the APKs into play store to support 32-bit and 64-bit mobiles?
What would be the process to upload both of 32-bit and 64-bit versions into production release? There is Google doc about multiple APKs but there is no mention about 32-bit and 64-bit versions.
Will play store take care of delivering 32-bit APK to 32-bit mobile and 64-bit APK to 64-bit mobile?
Note: I can't generate .aab using Android App Bundle package format since cordova-android is not started supporting yet and there is a Github issue created for that
I was facing issue in play store when uploading both 32-bit and 64-bit versions. It seems there an issue with crosswalk plugin while generating version code during the build. The issue is explained here https://stackoverflow.com/a/43570109/2474301
I had to make plugin code change as the answer explained in the StackOverflow link
After I made both 32-bit and 64-bit builds with proper version code, I'm able to upload both 32-bit and 64-bit APKs into google play store. Both the APKs are delivered to the appropriate mobile.

Categories

Resources