android - Galaxy S10+ 设备与我的应用程序不兼容

标签 android react-native

我创建了一个仅适用于移动设备而不适用于平板电脑的应用程序,因此我在我的应用程序 list 中添加了兼容屏幕的代码。

<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" />
    <screen
        android:screenDensity="480"
        android:screenSize="small" />
    <screen
        android:screenDensity="640"
        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" />
    <screen
        android:screenDensity="480"
        android:screenSize="normal" />
    <screen
        android:screenDensity="560"
        android:screenSize="normal" />
    <screen
        android:screenDensity="640"
        android:screenSize="normal" />
    <screen
        android:screenDensity="420"
        android:screenSize="normal" />
</compatible-screens>

一切正常,但现在每次我们尝试在 S10+ 中下载应用程序时,我都会收到错误消息设备与此版本不兼容

我在 Play 控制台中检查了设备目录,它显示 S10+ 为用户启用。

提前致谢

最佳答案

我有一个应用程序有一个平板电脑版本和另一个手机版本。 我按屏幕尺寸过滤:

  • 小而普通的手机
  • 适用于平板电脑的 Large 和 xLarge

我有一个用户使用 s10+ 的问题,从 playstore 下载得到应用程序的平板电脑版本。

问题是 S10+ 使用大屏幕尺寸,因此您的应用不支持它。

我在 ADB 上模拟了它的大小和密度,它表明它被认为是大的: enter image description here

关于android - Galaxy S10+ 设备与我的应用程序不兼容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55964521/

相关文章:

android - 在 Kotlin MultiPlatform 项目中未解决 iOS 依赖项

android - super(onTap (GeoPoint, Mapview)) 总是返回 false

Android 布局 - 文字太宽?

react-native - 如何在 expo 中添加 FontAwesome 图标

屏幕变黑后,Java Android 套接字立即被杀死

ios - React Native WebView 滚动行为无法按预期工作

node.js - 无法读取未定义的属性 'code',解码 Firebase ID token 失败

ios - react-native NavigatorIOS 没有按预期工作

reactjs - 如何在 React Native 的无状态功能组件中扩展 native 组件的 props TypeScript 接口(interface)?

android - 在gstreamer管道中使用encodebin