java - Why is my application only compatible with 14 devices on google play? -
i editing app code. front.
i facing problem application runs on device in debug mode, but, once upload google play application comptible 14 devices. ¿14? ¿really?. dont understand. weird.
this google showing me: https://imgur.com/a/r8rgj
this have declared app use in manifest:
<uses-permission android:name="android.permission.internet" /> <uses-permission android:name="android.permission.write_external_storage" /> <uses-permission android:name="android.permission.read_external_storage" /> <uses-permission android:name="android.permission.camera" /> <uses-permission android:name="android.permission.vibrate" /> <uses-permission android:name="android.permission.wake_lock" /> <uses-permission android:name="android.permission.receive_boot_completed" /> <uses-permission android:name="android.permission.access_network_state" />
this de app build.gradle:
apply plugin: 'com.android.application' android { packagingoptions { exclude 'license.txt' exclude 'meta-inf/license' exclude 'meta-inf/license.txt' exclude 'meta-inf/notice' } compilesdkversion 21 buildtoolsversion "21.1.2" defaultconfig { applicationid "com.my.app.name" minsdkversion 11 targetsdkversion 21 versioncode 68 versionname "v2.0.0" } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } sourcesets { androidtest { setroot('src/test') } } lintoptions { abortonerror false checkreleasebuilds false } } repositories { flatdir { dirs 'aars' } } dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile filetree(dir: '../core/libs', include: ['*.jar']) compile project(':core') compile 'com.android.support:gridlayout-v7:21.0.3' compile 'com.android.support:support-v4:21.0.3' compile 'com.android.support:appcompat-v7:21.0.3' compile 'com.google.guava:guava:18.0' compile 'com.google.code.findbugs:jsr305:1.3.9' compile 'com.madgag.spongycastle:core:1.51.0.0' compile 'com.google.protobuf:protobuf-java:2.5.0' compile 'com.google.zxing:core:3.1.0' compile 'ch.acra:acra:4.5.0' compile 'com.android.support:support-v4-preferencefragment:1.0.0@aar' }
idk if there place limiting devices.
idk if peace af code doing this. first time facing it.
thanks in advance.
update can see in pic, platform refers x86_64. idk if problem. if case, idea how solve it? please?
as of 9/10/2017 , answer outdated super fast, app not targeting latest api, try targeting api 26 android o.
change these , rebuild latest api 26 , update dependencies
compilesdkversion buildtoolsversion targetsdkversion
Comments
Post a Comment