2012-08-17 8 views
14

AndroidManifest.xmlのAndroidアプリケーションがあります。 Google Playにアップロードした後、Nexus 7は未サポートのデバイスとして表示され、その理由を把握しようとしています。もちろん、Google Playでは、なぜ、マニフェストの許可または使用がサポートされていないのかを教えてくれません。以下のコードのどの部分でNexus 7がサポートされていないと表示されているのですか?Nexus 7 Androidアプリケーションマニフェストアセンブリのサポート

<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
    package="com.xxxx.xxxx.applet" 
    android:versionCode="x" 
    android:versionName="x.x" > 

    <uses-sdk 
     android:minSdkVersion="12" 
     android:targetSdkVersion="14" /> 

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 
    <uses-permission android:name="android.permission.INTERNET" /> 
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 
    <uses-permission android:name="android.permission.CAMERA" /> 
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 

    <supports-screens 
     android:anyDensity="true" 
     android:largeScreens="true" 
     android:normalScreens="true" 
     android:smallScreens="false" 
     android:xlargeScreens="true" > 
    </supports-screens> 

    <application 
     android:name="com.xxxx.xxxx.xxxx.xxxx" 
     android:hardwareAccelerated="true" 
     android:icon="@drawable/ic_launcher" 
     android:label="@string/app_name" 
     android:largeHeap="true" 
     android:logo="@drawable/ic_launcher" 
     android:theme="@android:style/Theme.Holo" > 

     <activity 
      android:name="MainActivity" 
      android:configChanges="keyboardHidden|orientation" 
      android:icon="@drawable/ic_launcher" 
      android:label="@string/app_name" 
      android:launchMode="singleTop" > 
      <intent-filter> 
       <action android:name="android.intent.action.MAIN" /> 

       <category android:name="android.intent.category.LAUNCHER" /> 
       <category android:name="android.intent.category.DEFAULT" /> 
      </intent-filter> 

      <meta-data 
       android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" 
       android:resource="@xml/device_list" /> 
     </activity> 
</manifest> 

答えて

34

この1:

<uses-permission android:name="android.permission.CAMERA" /> 

ネクサス7は、カメラを正面向きを持っていないので、それは多くの驚きとして来るが、それは、この特定の許可の目的のためにカウントしないようです。

+29

これを解決するには、 ''を追加します。 http://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissionsとhttp://android-developers.blogspot.com/2012/07/getting-your-app-readyをご覧ください。 -for-jelly-bean.html – CommonsWare

+1

成功!ありがとうございました。さらに、Google Playで使用可能なデバイスが40台増えました。別のスレッドでこれを見つけられたのであれば謝罪しますが、すばやく正確な応答に感謝します – user1607521

+1

私はどこからでもこの答えを探しています! @ CommonsWareへのプロンプト!!! – TChadwick

関連する問題