How to upload arm64-v8a and armeabi-v7a packages in the Google Play Console

589 views
Skip to first unread message

Pranav Balaji Pooruli

unread,
Dec 13, 2020, 1:01:13 AM12/13/20
to Kivy users support
So I've created an app that I would like to upload to Google Play. I've signed up for a Google Play Developer account and have both arm64-v8a and armeabi-v7a APKs ready. I've created two archives because I have two Android phones that support different architectures. One of the phones supports only the armeabi-v7a architecture and the other one supports the arm64-v8a architecture. When my app is published, I want to be able to install it from Google Play on both devices.

What should I do to be able to install my app on both Android devices? E.g., upload both APKs.

If I should upload both APKs, which APK's android.numeric_version (versionCode) should be higher, the arm64-v8a's one or the armeabi-v7a's one?

I tried setting the arm64-v8a APK's versionCode to 2 and the armeabi-v7a one's versionCode to 1. I could successfully upload and review with no errors but thankfully, before I sent my app to Google I tested the APKs. When I tried to install the armeabi-v7a APK on my phone with USB debugging on, the phone connected to my computer (obviously), and the device authorized, I got an error message from adb saying I couldn't downgrade the app. I could have used adb install -d but instead, I downloaded the APK on my device and tried installing it from there. Package Installer said "App not installed" with no error message and just a "Done" button.

Any help would be appreciated.

Pranav Balaji Pooruli

unread,
Dec 13, 2020, 1:13:36 AM12/13/20
to Kivy users support
When adb said I couldn't downgrade the app, I thought it was because the previous version's versionCode was 2 and this version's versionCode was 1. So I cleared my app's data (including cache) from Settings and uninstalled it, leaving no trace of the app being on my phone. Then again, when I tried adb install <app-name>-0.1-armeabi-v7a-release.apk, I got the exact same error again, so...

Alexander Taylor

unread,
Dec 13, 2020, 8:27:42 AM12/13/20
to Kivy users support
Your arm64-v8a apk must have a higher versionCode than the armeabi-v7a one. Usually the best option is you should not worry about this, don't set the versionCode at all and let python-for-android calculate it from the versionName and arch, it will do the right thing.

Pranav Balaji Pooruli

unread,
Dec 13, 2020, 1:05:12 PM12/13/20
to kivy-...@googlegroups.com
Thanks for the response, I will try this. And also, ever since I got the downgrade error adb doesn't work. It says "Performing streamed install" and then "Success" like always but the app doesn't get installed on my phone. Do you have any idea why this is happening?

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/d37acd6f-5574-4e95-a5e8-452694646c18n%40googlegroups.com.

Pranav Balaji Pooruli

unread,
Dec 13, 2020, 1:24:20 PM12/13/20
to kivy-...@googlegroups.com
So do you mean my v8a APK's versionName should be 0.2 and my v7a APK's versionName should be 0.1?

On Sun, Dec 13, 2020, 7:27 AM Alexander Taylor <alexander...@gmail.com> wrote:
--

Alexander Taylor

unread,
Dec 13, 2020, 1:25:06 PM12/13/20
to kivy-...@googlegroups.com

No, give them the same versionName.

You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/s7wza0q9pzc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CANxzp8MzUV-qjRtC81nCcejqG4mUn5_87JWTvOLJxm9TBg2P4A%40mail.gmail.com.

Pranav Balaji Pooruli

unread,
Dec 13, 2020, 1:25:11 PM12/13/20
to kivy-...@googlegroups.com
...and th android.numeric_version line should be commented out?

Pranav Balaji Pooruli

unread,
Dec 13, 2020, 1:25:55 PM12/13/20
to kivy-...@googlegroups.com
Both of them should be 0.1?

Pranav Balaji Pooruli

unread,
Dec 13, 2020, 1:32:11 PM12/13/20
to Kivy users support
So do you mean the version = <str> line is where I should put 0.1 and I should comment out the android.numeric_version line?

Alexander Taylor

unread,
Dec 13, 2020, 2:03:18 PM12/13/20
to kivy-...@googlegroups.com

Pranav Balaji Pooruli

unread,
Dec 13, 2020, 2:04:15 PM12/13/20
to kivy-...@googlegroups.com
Are you sure P4A will automatically set the versionCode?

Alexander Taylor

unread,
Dec 13, 2020, 2:06:29 PM12/13/20
to kivy-...@googlegroups.com

Yes. If you want to ask a lot of small questions like this, I recommend joining the Kivy Discord channels at https://chat.kivy.org .

Pranav Balaji Pooruli

unread,
Dec 13, 2020, 2:07:24 PM12/13/20
to kivy-...@googlegroups.com
I'm really sorry, but thanks for your help!
Reply all
Reply to author
Forward
0 new messages