0

我在让第一代 nexus 7 出现在 Play 商店时遇到问题。我尝试了几种不同的配置。以下是我的清单的相关部分。

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />


<permission android:name="com.example.gcm.permission.C2D_MESSAGE"
            android:protectionLevel="signature" />
<uses-permission android:name="com.example.gcm.permission.C2D_MESSAGE" />

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


<compatible-screens>
    <screen android:screenSize="small" android:screenDensity="hdpi" />
    <screen android:screenSize="small" android:screenDensity="xhdpi" />
    <screen android:screenSize="normal" android:screenDensity="hdpi" />
    <screen android:screenSize="normal" android:screenDensity="xhdpi" />
    <screen android:screenSize="normal" android:screenDensity="480" />
    <screen android:screenSize="large" android:screenDensity="213" />
    <screen android:screenSize="large" android:screenDensity="hdpi" />
    <screen android:screenSize="large" android:screenDensity="xhdpi" />
    <screen android:screenSize="large" android:screenDensity="mdpi" />
    <screen android:screenSize="large" android:screenDensity="480" />
</compatible-screens>
4

1 回答 1

0

The Nexus 7 2012 has a screen density of tvdpi, which means you're going to have to support tvdpi.

The Nexus 7 has an interesting screen:

  • 7 inches.
  • 800x1280.
  • "tvdpi" density (numerically that is 213).
  • 600 x 961 in dp units.

Try:

<screen android:screenSize="large or normal, not 100% sure" android:screenDensity="tvdpi" />

https://plus.google.com/105051985738280261832/posts/6eWwQvFGLV8

EDIT: Found this similar SO question. Why my App is not showing up on tablets in Google Play?

于 2013-09-09T23:13:56.393 回答