我有一台galaxy note 5,我无法安装这款应用程序,但它可以在其他手机和平板电脑上运行。
我认为这可能与手机有四高清屏幕的事实有关,但其他屏幕似乎工作得很好。我不知道还能有什么不同。我
我去了google开发者控制台,发现note 5甚至不在所有设备的列表中。
supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<compatible-screens>
<!-- all small size screens -->
<screen android:screenDensity="ldpi" android:screenSize="small" />
<screen android:screenDensity="mdpi" android:screenSize="small" />
<screen android:screenDensity="hdpi" android:screenSize="small" />
<screen android:screenDensity="xhdpi" android:screenSize="small" />
<!-- all normal size screens -->
<screen android:screenDensity="ldpi" android:screenSize="normal" />
<screen android:screenDensity="mdpi" android:screenSize="normal" />
<screen android:screenDensity="hdpi" android:screenSize="normal" />
<screen android:screenDensity="xhdpi" android:screenSize="normal" />
<!-- all large size screens -->
<screen android:screenDensity="ldpi" android:screenSize="large" />
<screen android:screenDensity="mdpi" android:screenSize="large" />
<screen android:screenDensity="hdpi" android:screenSize="large" />
<screen android:screenDensity="xhdpi" android:screenSize="large" />
<!-- all x-large size screens -->
<screen android:screenDensity="ldpi" android:screenSize="xlarge" />
<screen android:screenDensity="mdpi" android:screenSize="xlarge" />
<screen android:screenDensity="hdpi" android:screenSize="xlarge" />
<screen android:screenDensity="xhdpi" android:screenSize="xlarge" />
<!-- Special case for new phones with large screens 5"+ and Nexus 7 -->
<screen android:screenDensity="213" android:screenSize="large" />
<!-- For xxhdpi devices you can use 480 as an int value -->
<screen android:screenDensity="480" android:screenSize="small" />
<screen android:screenDensity="480" android:screenSize="normal" />
<screen android:screenDensity="480" android:screenSize="large" />
<screen android:screenDensity="480" android:screenSize="xlarge" />
<!-- For xxxhdpi devices you can use 640 as an int value -->
<screen android:screenDensity="640" android:screenSize="small" />
<screen android:screenDensity="640" android:screenSize="normal" />
<screen android:screenDensity="640" android:screenSize="large" />
<screen android:screenDensity="640" android:screenSize="xlarge" />
</compatible-screens>发布于 2016-05-25 13:51:23
试着添加这段代码
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<!-- all normal size screens -->
<screen
android:screenDensity="ldpi"
android:screenSize="normal" />
<screen
android:screenDensity="mdpi"
android:screenSize="normal" />
<screen
android:screenDensity="hdpi"
android:screenSize="normal" />
<screen
android:screenDensity="xhdpi"
android:screenSize="normal" />
此代码涉及所有内容,甚至包括平板电脑refer this,以排除平板电脑
https://stackoverflow.com/questions/37428344
复制相似问题