Android application compatible with 0 devices

My app https://play.google.com/store/apps/details?id=com.picturesexperience.camera does not appear on any mobile device. Installing without problems from the APK file (in fact, as I am distributing my application right now) works fine, but for some reason Google Play does not list it. Any suggestions.

The application uses a library of scanning QR codes from Zxing, everything else is user-configurable.

In the application manifest:

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.picturesexperience.camera" android:versionCode="2" android:versionName="1.4" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10" /> <uses-feature android:name="android.hardware.CAMERA" /> <uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <activity android:name="com.picturesexperience.camera.MainActivity" android:label="@string/app_name" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".CameraActivity" android:label="@string/app_name" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden" /> <activity android:name=".UploadActivity" android:label="@string/app_name" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden" /> <activity android:name=".LoginActivity" android:label="@string/app_name" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden" /> <activity android:name=".PictureViewActivity" android:label="@string/app_name" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden" /> <activity android:name="com.google.zxing.client.android.CaptureActivity" android:screenOrientation="landscape" android:configChanges="orientation|keyboardHidden" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:windowSoftInputMode="stateAlwaysHidden"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.DEFAULT"/> </intent-filter> <intent-filter> <action android:name="com.google.zxing.client.android.SCAN"/> <category android:name="android.intent.category.DEFAULT"/> </intent-filter> </activity> </application> </manifest> 
+6
source share
4 answers
 <uses-feature android:name="android.hardware.CAMERA" /> 

... it should be...

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

uses-feature case sensitive and lower case , so you are claiming to use a function that does not exist on any device.

+11
source

Case sensitivity

Permissions and functions are case sensitive. Instead, try the following:

 <uses-feature android:name="android.hardware.camera" /> 

Required = false

Also, don't forget to add android:required="false" for maximum device compatibility. Otherwise, devices without a rear camera (such as a Nexus 7 tablet) will still be excluded.

 <uses-feature android:name="android.hardware.camera" android:required="false" /> 

More information here: http://developer.android.com/guide/topics/manifest/uses-feature-element.html

+3
source

I ran into this problem, but after burning some hours, I got the solution in my application. I use

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

whereas it should be

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

So, I want to say that please carefully check your permissions and feathers. Also remove those permissions that are not required in your application, this thing will increase device support.

I hope this works for you.

+1
source

I know it's too late to answer, I have the same problem. When setting all user-functions as false , the playback store still displays supported supported devices .

Here is the solution, hope will help someone

  <uses-feature android:glEsVersion="0x00020000" android:required="true" /> 

Besides

 <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" /> 

Hope this helps.

0
source

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


All Articles