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

Android dev - which CPU architecture should my app support? [closed]
Android MEDIA_BUTTON event not received when music app is playing
cancelRequests(context, true) in Asynchronous Http Client is not working
Android: Draw a custom view programmatically
save byte array as .mp4 file and play it in VideoView android
Trying to understand list view behaviours in Android
Android Analytics Correct Receiver Definition
unable to create Sqlite Data base in android
Radio Button with displayed incremental percentage values with seek bar
NotificationListenerService not working - even after giving permission
How to avoid that the GoogleMap change the camera twice?
Watch Face does not show up on Android Wear app
Android check for new update without play store
Does it make sense to provide different dpi versions of a background image in an ImageView with centerCrop that cover the whole screen?
onsen ui carousel scroll issue on android
google glass, ASM mirroring

Categories

HOME
google-app-engine
fabricjs
spark-streaming
fpga
redux-form
battery
apiblueprint
owl-carousel
appcelerator
entity-framework-core
tivoli
echo
trac
qpython
stellar.js
symmetricds
android-intent
cumulocity
qsqlquery
gruntfile
capistrano3
articulate-storyline
springfox
php-mysqlidb
pchart
monit
direct3d11
gpio
angular-translate
subclass
fstream
carriage-return
yowsup
hivemq
sim-toolkit
modernizr
sim-card
odroid
loading
doc
vmware-fusion
linqpad
ssrs-2014
file-sharing
wc
x++
flask-restful
openresty
linter
chai-as-promised
dtsearch
qtranslate
boxing
oozie-coordinator
smartfoxserver
omxplayer
latin
nikeplus-api
tooleap
tracker-enabled-dbcontext
project-organization
cda
ikiwiki
nupic
beanstalk
jnlua
toran-proxy
gocql
r-package
uncompress
branch-and-bound
ocra
mirror
typeconverter
jquery-forms-plugin
rrule
openbabel
iiop
easyrtc
codeplex
dct
mutual-authentication
code-duplication
nevron
video-codecs
twisted.web
bjyauthorize
robotlegs
sentestingkit
garbage
httponly
jsr286
floating-point-exceptions
pinch
exponentiation
dataform
blender-2.49
cfwindow
int64
firefox-3
change-management
pnrp

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