0

我在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

谷歌播放简历

4

1 回答 1

7

看着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" />或删除它。

于 2016-10-30T13:40:29.737 回答