Unable to download app from Google play. Android app is supported by 0 devices -
i'm facing strange error androidmanifest, obviously, somehting isn't right androidmanifest since google reject device support.
here example of merged androidmanifest.xml
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versioncode="10009" android:versionname="1.0.9" package="" platformbuildversioncode="25" platformbuildversionname="7.1.1"> <uses-sdk android:minsdkversion="21" android:targetsdkversion="25" /> <uses-feature android:name="android.hardware.location.gps" android:required="true" /> <uses-feature android:name="android.hardware.location.network" android:required="true" /> <uses-permission android:name="android.permission.access_coarse_location" /> <uses-permission android:name="android.permission.access_fine_location" /> <uses-permission android:name="android.permission.access_wifi_state" /> <uses-permission android:name="android.permission.access_network_state" /> <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.vibrate" /> <uses-feature android:name="android.hardware.camera" android:required="true" /> <uses-feature android:name="android.hardware.camera2" android:required="true" /> <uses-feature android:name="android.hardware.bluetooth" android:required="true" /> <uses-feature android:name="android.hardware.bluetooth_le" android:required="true" /> <uses-permission android:name="android.permission.bluetooth" /> <uses-permission android:name="android.permission.bluetooth_admin" /> <uses-permission android:name="android.permission.receive_boot_completed" /> <uses-feature android:name="android.hardware.camera2.full" /> <uses-feature android:name="android.hardware.sensor.compass" /> <uses-feature android:name="android.hardware.sensor.gyroscope" /> <uses-feature android:name="android.hardware.sensor.accelerometer" /> <uses-permission android:name="android.permission.camera" /> <uses-permission android:name="android.permission.wake_lock" /> <supports-screens android:anydensity="true" android:normalscreens="true" android:largescreens="true" /> <uses-feature android:name="android.hardware.telephony" android:required="false" /> <uses-feature android:name="android.hardware.wifi" android:required="false" /> <meta-data android:name="android.support.version" android:value="25.3.1" /> <application android:theme="@style/apptheme_noactionbar" android:label="@string/app_name" android:icon="@mipmap/civitavecchia_app_icon" android:name="hr.sil.civitavecchia.apprelease" android:allowbackup="false" android:largeheap="true" android:supportsrtl="true" android:roundicon="@mipmap/civitavecchia_app_icon"> <activity android:theme="@style/apptheme_noactionbar" android:label="@string/app_name" android:name="hr.sil.civitavecchia.activities.splashactivity"> <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name="hr.sil.civitavecchia.activities.mainactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.discoveredpois.discoveredpoisactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.besthunters.besthuntersactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.gallery.galleryactivity" /> <activity android:name="hr.sil.civitavecchia.activities.introduction.introductionactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.maps.mapsactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.other.leisureactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.other.practicalinfoactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.pois.poisactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.ar.augmentedrealityactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.pois.poidetailactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.profile.mydetailsactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.rulesandregistration.rulesandregistrationactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.scavengerhunt.scavengerhuntdetailactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.scavengerhunt.scavengerhuntmapactivity" android:launchmode="singletop" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.scavengerhunt.scavengerhuntresultsactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.scavengerhunt.scavengerhuntresultsdetailactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.scavengerhunt.scavengerhuntshomeactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.scavengerhunt.scavengerhuntquestionactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.scavengerhunt.congratulationsactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.other.infoactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.settings.settingsactivity" android:screenorientation="portrait" /> <activity android:name="hr.sil.civitavecchia.activities.settings.languagesactivity" android:screenorientation="portrait" android:configchanges="locale" /> <meta-data android:name="io.fabric.apikey" android:value="xxxxxxxx" /> <receiver android:name="hr.sil.android.ble.scanner.waker.wakeupreceiver"> <intent-filter> <action android:name="android.intent.action.boot_completed" /> <action android:name="android.intent.action.action_power_connected" /> <action android:name="android.intent.action.action_power_disconnected" /> </intent-filter> </receiver> <service android:label="restartservice" android:name="hr.sil.android.ble.scanner.waker.restartservice" android:enabled="true" android:exported="false" android:isolatedprocess="false" /> <receiver android:name="hr.sil.android.bgsync.receiver.backgroundalarmreceiver" /> <service android:name="hr.sil.android.bgsync.service.backgroundservice" /> <activity android:theme="@*android:style/theme.translucent.notitlebar" android:name="com.google.android.gms.common.api.googleapiactivity" android:exported="false" /> <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> </application>
i published apk in beta release , production also, however, didn't have luck download app. there kind of manifest analyzer point out mistakes in xml file. ios rejects , tell reason, on play store, option exclude permissions , include 1 permission per release identify problem is, hard if have libraries.
remove the
<uses-feature android:name="android.hardware.camera2" android:required="true" />
the android.hardware.camera more enough.
if camera basic sample can see declare android.hardware.camera feature.
google camera sample https://github.com/googlesamples/android-camera2basic/blob/master/application/src/main/androidmanifest.xml
Comments
Post a Comment