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

How to solve unable to locate adb(IllegalArgumentException) in android studio?
OnClick event not working in achartengine Doughnut chart in android?
Cordova on Android, parse error [duplicate]
Is reading config file at android app start a security issue?
Android in-app billing - Why use Integer.valueOf(0)?
SearchView like in Telegram app with arrow animation
Live Stream Video over WiFi Direct
Libgdx shader on a shaperenderer's rectangle
Custom countdown view using Animation class
minimum hardware requirements for an android phone to run opencv
Android 6.0, Nexus 5. Second user (not owner) not see “Developer options”
AdMob with Android doesn't show ads and return error code 3
Passing data between components from android navigator in React Native?
No Activity found to handle Intent INTERACTION_TOPMENU
How to change(update) language of notification contentText programmatically
how to determine width and height of rectangle drawn on bitmap in a imageview

Categories

HOME
apache-flink
apache-jena
android-studio-2.2
3d
yandex
spring-data-mongodb
aws-cli
emscripten
limit
ado.net
mapbox
jtextpane
angularfire2
reactive-programming
speech-synthesis
azure-powershell
internationalization
microsoft-dynamics-nav
microsoft-ocr
jquery-ias
backpack-for-laravel
strongname
google-api-client
entity-relationship-model
handler
rpgle
google-earth
angularjs-material
gojs
android-maps-extensions
installscript
servicestack-text
verifiable-c
metaprogramming
plaintext
naming
uiimage
ovf
carrot2
colorbar
git-flow
cup
bbpress
cpu-cache
mapxtreme
rspec2
jquery-jscrollpane
scaffolding
jclouds
nupic
crouton-os
boomerang
microsoft-reporting
jdk1.7
skspritenode
graphics2d
uvc
fail2ban
kubuntu
jquery-forms-plugin
user-permissions
deform
spy++
teaspoon
rcaller
live555
mutual-authentication
multiautocompletetextview
scringo
route-provider
epiceditor
onload-event
apache-abdera
booksleeve
android-loadermanager
extreme-programming
faye
adobe-media-server
httponly
box2d-iphone
jquery-tools
u2netdk
winmain
google-floodlight
strsep
unattended-processing
photolibrary
updatesourcetrigger
pos-for-.net
google-wave
complex-event-processing

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