0

Nexus 7에서만 실행되는 앱을 개발했으며 (현재는) Nexus 7 만 지원하지만 Google에서 지원하는 기기는 어떤 조합으로 구성해야 하는지를 파악할 수 없습니다. 놀이.Google Play에서 지원 기기가 표시되지 않습니다.

USB로 연결된 물리적 Nexus 7에서만 테스트되었으며 세로 모드와 가로 모드에서 모두 잘 작동합니다.

Android Manifest XML의 마지막 시도 만 포함되었습니다.

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

    <uses-sdk 
     android:minSdkVersion="17" 
     android:targetSdkVersion="18" /> 

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


    <uses-feature android:name="android:glEsVersion=0x00020000" 
        android:required="true" /> 

    <uses-feature android:name="android.hardware.camera" android:required="false" /> 

    <application 
     android:allowBackup="true" 
     android:hardwareAccelerated="true" 
     android:icon="@drawable/ow_icon" 
     android:label="@string/app_name" 
     android:theme="@style/AppTheme" > 
     <activity 
      android:name="com.xxx.xxx.MainActivity" 
      android:configChanges="orientation|screenSize" 
      android:clearTaskOnLaunch="true" 
      android:label="@string/app_name" > 
      <intent-filter> 
       <action android:name="android.intent.action.MAIN" /> 
       <category android:name="android.intent.category.LAUNCHER" /> 
      </intent-filter> 
     </activity> 
    </application> 

</manifest> 

모든 도움을 주시면 감사하겠습니다.

+0

[this] (http://developer.android.com/guide/practices/screens_support.html)을 보셨습니까? – developeralways

+0

이 게시물을 읽는 데 시간을내어 주셔서 감사합니다. 한 친구가 안드로이드 : glEsVersion을 제거하고 어떤 일이 일어나는지 보라고했습니다. 글쎄, 문제가 해결되었습니다. android : minSdkVersion = 17은 OpenGL 2.0을 의미하므로 안드로이드 : glEsVersion이 필요 없다고 생각합니다. – user2588157

답변

2

음, minsdkversion은 android 4.2 이상에 해당하는 17입니다. 현재는 small fraction of devices에서만 실행 중입니다.

+0

그래, 나는 정제만을 위해 개발 중입니다. – user2588157

0

매니페스트

<uses-feature android:name="android:glEsVersion=0x00020000" 
       android:required="true" /> 

에서 다음 코드를 제거한 후 나는 다음 지원되는 장치의 수천을했다. Nexus 7 (원래 문제) 만 원했기 때문에 "화면 지원"섹션을 변경하고 "용도 기능"라인을 Manifest에 추가했습니다.

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

<uses-feature android:name="android.hardware.telephony" android:required="false" /> 

위의 변경으로 인해 내 앱이 7 인치 및 10 인치 기기에서 작동 할 수있었습니다.