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
全部完美。有用! 我真的很感謝你的幫助! 非常感謝! –
我討厭這樣說,但是:如果它有幫助,請投票或接受。 ;) –