Google Play shows - your device is not compatible with this version for the Samsung Galaxy 2 and Google Nexus 7 tab

When I published my application on the Google Play Store and I tried to download it on my Google Nexus 7, I get the message "Your device is not compatible with this version."

My manifest file is declared as follows: -

<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="16" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.CAMERA" /> <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:xlargeScreens="true" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <application android:icon="@drawable/ic_icon" android:label="@string/app_name" android:theme="@style/ApplicationTheme" > <uses-library android:name="com.google.android.maps" /> <activity android:name=".SplashScreenActivity" android:label="@string/app_name" android:screenOrientation="portrait" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".HomeActivity" android:launchMode="singleTop" android:screenOrientation="portrait" > </activity> <activity android:name=".MyFormsTabActivity" android:screenOrientation="portrait" > </activity> </application> 

+4
source share
2 answers

This is the problem:

 <uses-permission android:name="android.permission.CAMERA" /> 

This implies using the camera function, which is different from the front camera, like the N7. Make the camera function explicit and optional. Details: http://developer.android.com/guide/google/play/filters.html

+5
source

Got it. !!

http://developer.android.com/guide/google/play/filters.html

Well, android permissions are usually not used as filters if you have the specified attribute. In the above case, it happened that I announced CAMERA permission, but Google Nexus 7 did not have a camera (only the front camera). therefore Google Play filters out the device.

So, to solve this problem, the best practice would be,

** If in our application manifest we asked permission to use any hardware function, we must also declare the uses-feature attribute for this with android: required = "false". **

+1
source

Source: https://habr.com/ru/post/1440701/


All Articles