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

get text from a url using android httpurlconnection
Parse Access List (ACL) in JavaScript
Runnable, Thread, RunOnUIThread
How can we detect the Android app killed by user or the System?
Add other fragment to backstack?
What is the meaning .External_Conten_URI in given String Code
How can I exclude non-class files contained in library JARs from release APKs?
'Debug in Chrome' not work in react native for android
Draw white Background behind each character in Textview android [duplicate]
Execution failed for task app:dexDebug
RxJava and Retrofit - first steps with Rx
Floating action buttons sub menu
Android onclick radio button camera intent not working
What is transcriptMode of an Android ListView?
App Bar Layout Not Working
trigger Button onClick on ViewPager

Categories

HOME
batch-file
django
linkedin
forms
components
jsf-2.2
spring-data-redis
appcelerator
alarm
xbee
barcode
qpython
commonjs
ibeacon-android
text-mining
atlassian
symbol
dynamic-sql
microsoft-dynamics-nav
sencha-touch
database-connection
springfox
parcelable
hta
object-storage
direct3d11
xunit
onload
appirater
has-and-belongs-to-many
firebase-analytics
record
android-gridview
hunspell
apiary.io
openerp-7
apic
salesforce-communities
imagenet
connection-pool
protein-database
odroid
urlsession
magento-1.9.3
xv6
odoo-website
parser-generator
microsoft-metro
smoothstate.js
outputcache
wc
berkeley-db-je
clang++
apache-spark-dataset
memory-mapping
uiimage
vaadin-elements
ntvs
serde
chai-as-promised
globalize
launchctl
convex-optimization
arq
static-cast
ampps
usart
stax
tooleap
android-dateutils
eigenvector
redis-cluster
nullable
opl
rewrite
binomial-theorem
finalbuilder
wso2greg
kubuntu
zxspectrum
wcm
unix-socket
ignite-ui
lambda-architecture
vsx
authlogic
square-bracket
multiautocompletetextview
multitasking
windows-embedded-standard
android-usb
eclipse-kepler
virtualpathprovider
workflow-services
exponentiation
creole
load-time
resharper-6.0
burndowncharts
todos
information-management
great-circle

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