Google Play Developer Console 上我的应用不支持任何设备
No device supported for my app on Google Play Developer Console
Google Play
商店坚持认为我的应用程序受 0 台设备支持,我遇到了问题。
我已经在不同的设备上测试了我的应用程序,它运行良好,没有理由与每个 Android
设备不兼容。
提前致谢
这是我的 manifest
文件:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.company.nameapp">
<!-- PERMISSION TO USE CAMERA -->
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera2" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- ACTIVITY -->
<application
android:allowBackup="true"
android:icon="@drawable/icon_flash"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:replace="android:theme">
<!-- SPLASH SCREEN -->
<activity
android:name=".SplashScreen"
android:label="@string/app_name"
android:theme="@android:style/Theme.Black.NoTitleBar" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- MAIN ACTIVITY-->
<activity android:name=".MainActivity"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Black.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<!-- CAMERA -->
<activity android:name="com.desmond.squarecamera.CameraActivity" />
<activity android:name=".credits"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Black.NoTitleBar">
</activity>
</application>
</manifest>
这 4 个特征是
android.hardware.CAMERA
android.hardware.CAMERA2
android.hardware.FAKETOUCH
android.hardware.PORTRAIT
和 3 个权限
android.permission.CAMERA
android.permission.READ_EXTERNAL_STORAGE
android.permission.WRITE_EXTERNAL_STORAGE
Google Play Resume
看着 https://github.com/googlesamples/android-Camera2Basic/blob/master/Application/src/main/AndroidManifest.xml 我很确定 <uses-feature android:name="android.hardware.camera2" />
不是真的。尝试将其更改为 <uses-feature android:name="android.hardware.camera" />
或将其删除。
Google Play
商店坚持认为我的应用程序受 0 台设备支持,我遇到了问题。
我已经在不同的设备上测试了我的应用程序,它运行良好,没有理由与每个 Android
设备不兼容。
提前致谢
这是我的 manifest
文件:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.company.nameapp">
<!-- PERMISSION TO USE CAMERA -->
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera2" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- ACTIVITY -->
<application
android:allowBackup="true"
android:icon="@drawable/icon_flash"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:replace="android:theme">
<!-- SPLASH SCREEN -->
<activity
android:name=".SplashScreen"
android:label="@string/app_name"
android:theme="@android:style/Theme.Black.NoTitleBar" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- MAIN ACTIVITY-->
<activity android:name=".MainActivity"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Black.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<!-- CAMERA -->
<activity android:name="com.desmond.squarecamera.CameraActivity" />
<activity android:name=".credits"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Black.NoTitleBar">
</activity>
</application>
</manifest>
这 4 个特征是
android.hardware.CAMERA
android.hardware.CAMERA2
android.hardware.FAKETOUCH
android.hardware.PORTRAIT
和 3 个权限
android.permission.CAMERA
android.permission.READ_EXTERNAL_STORAGE
android.permission.WRITE_EXTERNAL_STORAGE
Google Play Resume
看着 https://github.com/googlesamples/android-Camera2Basic/blob/master/Application/src/main/AndroidManifest.xml 我很确定 <uses-feature android:name="android.hardware.camera2" />
不是真的。尝试将其更改为 <uses-feature android:name="android.hardware.camera" />
或将其删除。