gpt4 book ai didi

Android 应用与您的设备 android studio 不兼容

转载 作者:行者123 更新时间:2023-11-30 05:05:23 24 4
gpt4 key购买 nike

我已经发布并且在最新版本的手机上显示错误 enter image description here

这是我的应用程序 build.gradle

compileSdkVersion 28
buildToolsVersion "28.0.3"

minSdkVersion 17
targetSdkVersion 28

构建.gradle:

dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'

}

list :

 <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<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"
/>

<compatible-screens>
<!-- all small size screens -->
<screen android:screenSize="small" android:screenDensity="mdpi" />
<screen android:screenSize="small" android:screenDensity="hdpi" />
<screen android:screenSize="small" android:screenDensity="xhdpi" />
<!-- all normal size screens -->
<screen android:screenSize="normal" android:screenDensity="mdpi" />
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
<!-- all large size screens -->
<screen android:screenSize="large" android:screenDensity="mdpi" />
<screen android:screenSize="large" android:screenDensity="hdpi" />
<screen android:screenSize="large" android:screenDensity="xhdpi" />

<screen android:screenSize="large" android:screenDensity="xxhdpi" />
<screen android:screenSize="large" android:screenDensity="xxxhdpi" />
</compatible-screens>

我哪里错了?我想更新我的应用程序,它将显示在每个最新版本的移动设备上

最佳答案

使用兼容屏幕几乎总是错误的,Google Play ( and the documentation for compatible screens) 建议不要这样做。

Caution: Normally, you should not use this manifest element. Using this element can dramatically reduce the potential user base for your application, by not allowing users to install your application if they have a device with a screen configuration that you have not listed. You should use it only as a last resort, when the application absolutely does not work with specific screen configurations. Instead of using this element, you should follow the guide to Supporting Multiple Screens to provide scalable support for multiple screens using alternative layouts and bitmaps for different screen sizes and densities.

关于Android 应用与您的设备 android studio 不兼容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54663192/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com