2016-10-30 14 views
0

Google Playストアで、アプリが0デバイスでサポートされていると主張しています。 私は別のデバイスで自分のアプリをテストしましたが、うまくいきました。すべての単一デバイスAndroidと互換性がない理由はありません。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権限私はhttps://github.com/googlesamples/android-Camera2Basic/blob/master/Application/src/main/AndroidManifest.xmlを見てみると

android.permission.CAMERA 
android.permission.READ_EXTERNAL_STORAGE 
android.permission.WRITE_EXTERNAL_STORAGE 

Google Play Resume

答えて

2

さ:事前 で おかげでこれが私のmanifestファイルですかなり確かに<uses-feature android:name="android.hardware.camera2" />は本当に問題ではありません。 <uses-feature android:name="android.hardware.camera" />に変更するか、削除してください。

+0

すべて完璧です。できます! 私は本当にあなたの助けに感謝します! ありがとうございました! –

+1

私はこれを言うのが嫌いです:もし助けてくれたら、投票してください。 ;) –

関連する問題