android


Uploading Separate APKs for ARM-v7 and x86 to Google Play


I have made an Android game in Unity3D. I have published the game on Google Play.
The APK I'm currently serving is for both ARM-v7 and x86 native platforms. I want to upload a separate APK file for each to make them take up less storage space. The APK with both platforms is 27MB and the separate APKs are each around 19MB. The installed sizes are 56MB and 43MB, respectively. That's a significant difference.
The only information on this I have found relates to the APK tab in Google Play Developer Console, which is now deprecated.
Also, I have tried to upload separate APK files under the same version code and I got an error saying that two APKs can't have the same version code.
And when I tried to upload them under different version codes I got an error saying that the lower version APK is fully shadowed by the newer version.
How can I upload separate APK files for different native platforms?
Thank you for your help.
With the new 'Manage Releases' system, you create a release and add both apks, with different version codes, to the same release. You must limit the native platform in each one with something like this in your build.gradle:
splits {
abi {
enable true
reset()
include 'armeabi-v7a', 'x86'
universalApk false
}
The x86 version should have a higher version code, otherwise x86 devices will get the armv7a version since they are almost always compatible with that architecture as well.
I tried to upload them under different version codes
Different version codes indicates different version but only in terms "newer" or "older".
How can I upload separate APK files for different native platforms?
There's Multiple APK Support feature:
By publishing your application with multiple APKs, you can:
Support different OpenGL texture compression formats with each APK.
Support different screen sizes and densities with each APK.
Support different device feature sets with each APK.
Support different platform versions with each APK.
Support different CPU architectures with each APK (such as for ARM, x86, and MIPS, when your app uses the Android NDK).
https://developer.android.com/google/play/publishing/multiple-apks.html

Related Links

AndroidMy 6.0 targetSdkVersion 23 open failed: EACCES (Permission denied) [duplicate]
Custom LinearLayoutManager android
How to call a method after text complete in edit text in Android
Android Studio “Waiting for debugger” hangs, only on certain project
Couldn't read row 0, col 12 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it
What threading method can I use for reading long text files in Android?
how to make notification in receiver
Why is buffer return null in this example?
how to reset the NavigationView scroll position
How to display a math formula in an Android app?
Creating a database that can work with Web/iOS/Android
Good tool to check data consumed by a POST request for a mobile app?
What is the asp.net web api for image upload from Android (Retrofit)?
How to populate data dynamically into the Spinner from the server?
NetworkOnMainThreadException Firebase Crash
Kotlin data class with derived properties

Categories

HOME
google-app-engine
jpa
fuelux
gdb
pagination
ns-3
interface
requirements
knitr
regular-language
x264
iis-6
sendgrid-api-v3
xcodebuild
gource
eip
android-intent
powershell-v5.0
easyphp
nim
systemtime
php-mysqlidb
jboss6.x
has-and-belongs-to-many
8051
exchangewebservices
gp
tizen-tv
winpe
twiml
sqsh
playstation-portable
sim-toolkit
jpad
connection-pool
levenshtein-distance
portforwarding
preloader
placeholder
contract
xmldocument
procfile
jide
dynamic-linq
clarifai
serde
static-cast
java-bytecode-asm
stax
uicolor
mapinfo
synonym
gogs
cda
sciruby
roadkill-wiki
zen-cart
.bash-profile
iced-coffeescript
uncompress
pyobjc
typeconverter
diff3
cakephp-2.7
at-job
android-cookiemanager
mruby
ghcjs
sonarqube-5.0
contrast
rcaller
rfc5322
kogrid
ui-select2
onload-event
cascadingdropdown
boost-msm
listitem
floating-point-exceptions
virtualpathprovider
node-redis
exponentiation
silent
drupal-fivestar
folding
cfwindow
feasibility
dsl-tools
visualj#
cldc
fail-fast-fail-early
firefox-3

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App