Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use different version for abis #4152

Closed
wants to merge 2 commits into from

Conversation

UjuiUjuMandan
Copy link
Contributor

@UjuiUjuMandan UjuiUjuMandan commented Dec 19, 2024

Hi, have a look at this: https://developer.android.com/build/configure-apk-splits#configure-APK-versions

Google recommends different version codes for different ABIs, and the current way seems to be incompatible with F-Droid.

I set it as starting from 4 added a plus 5000000 to avoid inconvenience for users.

@UjuiUjuMandan
Copy link
Contributor Author

Discussion in progress.

@UjuiUjuMandan UjuiUjuMandan reopened this Dec 19, 2024
@2dust
Copy link
Owner

2dust commented Dec 19, 2024

Because Google Play need app bundle for publishing, all apks must be the same version to be able to upgrade normally

@2dust 2dust closed this Dec 19, 2024
@UjuiUjuMandan
Copy link
Contributor Author

Then Google must handle different version codes for ABIs; I will download a bundle to see.

@2dust
Copy link
Owner

2dust commented Dec 19, 2024

When publishing to Google Play, use release.aab, which already contains all architectures and has only one versionCode;
Then when publishing to GitHub, there are 4 apks. For the convenience of upgrading, all versions use the same versionCode

There is no problem using one versionCodefor all abi, because only one apk will be installed on a mobile phone.

@UjuiUjuMandan
Copy link
Contributor Author

Thanks for your Information.

@UjuiUjuMandan UjuiUjuMandan deleted the patch-1 branch December 19, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants