0
我在Google Play
商店遇到问题,该商店坚持认为我的应用受0设备支持。 我已经在不同的设备上测试过我的应用程序,它工作得很好,没有任何理由与每个设备都不兼容。 预先感谢 这是我manifest
文件:在Google Play开发者控制台上我的应用没有支持任何设备
<?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
全部完美。有用! 我真的很感谢你的帮助! 非常感谢! –
我讨厌这样说,但是:如果它有帮助,请投票或接受。 ;) –