2011-11-09 29 views
0

我發表這樣的清單使用配置和支持屏幕使應用程序與所有設備不兼容?

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

    <uses-sdk android:minSdkVersion="4" /> 

    <uses-configuration android:reqFiveWayNav="false" 
    android:reqHardKeyboard="false" 
    android:reqKeyboardType="nokeys" 
    android:reqNavigation="nonav" 
    android:reqTouchScreen="notouch"></uses-configuration> 

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

    <application 
     android:icon="@drawable/ic_launcher" 
     android:label="@string/app_name" > 
     <activity 
      android:label="@string/app_name" 
      android:name=".TestManifestAttributesActivity" > 
      <intent-filter > 
       <action android:name="android.intent.action.MAIN" /> 
       <category android:name="android.intent.category.LAUNCHER" /> 
      </intent-filter> 
     </activity> 
    </application> 
</manifest> 

一個測試程序,我出版的應用程序,它與所有設備,都地雷和我所有的朋友不兼容。我們的應用程序具有普通和大屏幕,mdpi和hdpi。

這究竟是爲什麼?爲什麼我根本不能使用這些屬性?

+0

你有沒有運氣?用哪些設置?謝謝。 – superjos

+0

停止使用uses-configuration – sandalone

+0

呃,謝謝。我沒有* uses-configuration *,但仍有許多設備似乎不兼容,包括我測試應用程序的時間太長。 – superjos

回答

1

notouch表示應用程序不需要觸摸屏 並且您正在設置android:reqHardKeyboard="false"

刪除uses-configuration標記。

+0

嗯,我不想刪除它,但我會嘗試玩選項。感謝您指點我。 – sandalone

相關問題