0

I'm trying to publish the app for any device. I assume, that there is something AndroidManifest.xml that causing it to not being available for tablets, but I can't figure out what.

Here is the fragment that could cause troubles:

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

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.CALL_PHONE" android:required="false"/>
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />

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

    <permission
        android:name="pl.wirtuale.vtk.permission.C2D_MESSAGE"
        android:protectionLevel="signature" />

<uses-permission android:name="pl.wirtuale.vtk.permission.C2D_MESSAGE" />

I marked CALL_PHONE as not required but still the app is not available for tablets. What else could cause it?

4

1 回答 1

1

这不是你说某事是否需要的方式。不要求你这样做的电话

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

如果你想支持你不需要拥有所有这些东西的一切

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

您可以删除它,所有屏幕尺寸都将兼容。仅当您想排除某些尺寸时才使用它

于 2013-10-17T12:18:54.250 回答