[英]No device supported for my app on Google Play Developer Console
I'm having trouble with the Google Play
store that insists that my app is supported by 0 devices. 我在Google Play
商店遇到问题,该商店坚持我的应用程序受0设备支持。 I've tested my app on different devices and it works very well, there's no reason for it to be incompatible with every single Android
device. 我已经在不同设备上测试了我的应用程序,并且该应用程序运行良好,没有理由不与每个Android
设备都兼容。 Thanks in advance This is my manifest
file: 预先感谢这是我的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>
The 4 features being 这四个功能是
android.hardware.CAMERA
android.hardware.CAMERA2
android.hardware.FAKETOUCH
android.hardware.PORTRAIT
And 3 permissions 和3个权限
android.permission.CAMERA
android.permission.READ_EXTERNAL_STORAGE
android.permission.WRITE_EXTERNAL_STORAGE
Looking at https://github.com/googlesamples/android-Camera2Basic/blob/master/Application/src/main/AndroidManifest.xml I'm pretty sure <uses-feature android:name="android.hardware.camera2" />
is not really a thing. 看着https://github.com/googlesamples/android-Camera2Basic/blob/master/Application/src/main/AndroidManifest.xml我很确定<uses-feature android:name="android.hardware.camera2" />
并不是真的。 Try changing it to <uses-feature android:name="android.hardware.camera" />
or remove it. 尝试将其更改为<uses-feature android:name="android.hardware.camera" />
或将其删除。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.