【问题标题】:App I uploaded to Google Play Store now says it's not compatible on my device我上传到 Google Play 商店的应用现在说它在我的设备上不兼容
【发布时间】:2020-12-02 12:54:04
【问题描述】:

我在 Unity 中为 Android 创建了一个应用程序,在三星 Galaxy A50 和三星 Tab S5e 上进行了测试,一切运行良好。 现在我已将它上传到 Google Play 商店,但我无法下载它,它显示“您的设备与此版本不兼容”。

Android 版本在 Unity 中设置为 8.0 及更高版本,而我用来测试的设备高于该版本(9 和 10)

这是 Google Play 商店的应用信息:

Features (11)
android.hardware.camera, android.hardware.camera.ar, android.hardware.camera.autofocus, android.hardware.camera.front, android.hardware.location, android.hardware.location.gps, android.hardware.touchscreen, android.hardware.touchscreen.multitouch, android.hardware.touchscreen.multitouch.distinct, android.hardware.wifi, com.google.ar.core.depth

Screen layouts (4)
small, normal, large, xlarge

Required permissions (11)
android.permission.ACCESS_COARSE_LOCATION, android.permission.ACCESS_FINE_LOCATION, android.permission.ACCESS_NETWORK_STATE, android.permission.ACCESS_WIFI_STATE, android.permission.CAMERA, android.permission.INTERNET, android.permission.READ_EXTERNAL_STORAGE, android.permission.READ_INTERNAL_STORAGE, android.permission.WAKE_LOCK, android.permission.WRITE_EXTERNAL_STORAGE, android.permission.WRITE_INTERNAL_STORAGE

Localisations (146)
af, am, ar, ar_EG, ar_SA, az, az_AZ, be, be_BY, bg, bn, bn_BD, bs, bs_BA, ca, cs, da, de, de_AT, de_CH, el, en_AU, en_CA, en_GB, en_IE, en_IN, en_SG, en_XC, en_ZA, es, es_419, es_AR, es_BO, es_CL, es_CO, es_CR, es_DO, es_EC, es_GT, es_HN, es_MX, es_NI, es_PA, es_PE, es_PR, es_PY, es_SV, es_US, es_UY, es_VE, et, et_EE, eu, eu_ES, fa, fi, fil, fr, fr_CA, fr_CH, gl, gl_ES, gsw, gu, gu_IN, he, hi, hr, hu, hy, hy_AM, id, in, is, is_IS, it, iw, ja, ka, ka_GE, kk, kk_KZ, km, km_KH, kn, kn_IN, ko, ky, ky_KG, lo, lo_LA, lt, lv, mk, mk_MK, ml, ml_IN, mn, mn_MN, mo, mr_IN, ms, ms_MY, my, my_MM, nb, ne, ne_NP, nl, no, pa, pa_IN, pl, pt, pt_BR, pt_PT, ro, ru, si, si_LK, sk, sl, sq, sq_AL, sr, sr_Latn, sv, sw, ta, ta_IN, te, te_IN, th, tl, tr, uk, ur, ur_PK, uz, uz_UZ, vi, zh, zh_CN, zh_HK, zh_TW, zu

Native platforms (2)
arm64-v8a, armeabi-v7a

这是我的 Android 清单:

<?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" package="com.company.product">

  <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
  <uses-permission android:name="android.permission.CAMERA"/>
  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
  <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
  <uses-feature android:name="android.hardware.camera.ar" />
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>
  <uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
  <uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />"/>

  <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true"></supports-screens>
  
  
  <application android:icon="@drawable/app_icon" android:label="@string/app_name">
    <activity android:name="net.sanukin.OverrideUnityActivity"
             android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <meta-data android:name="com.google.ar.core" android:value="required"  tools:replace="android:value"/>
   <meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="true" />
  </application>
</manifest>

我无法弄清楚问题所在。有没有其他人遇到过这个问题?

【问题讨论】:

    标签: android unity3d android-manifest compatibility google-play-console


    【解决方案1】:

    我已经弄清楚出了什么问题。这可能不是每个遇到此问题的人的解决方案,但希望它可以帮助某人。

    问题在于 ARCore。在 XR 插件管理设置中,我将深度更改为“可选”。之前将其设置为“必需”,它排除了所有尚不具备此功能的设备。

    【讨论】:

    • 是的,这对我也有用!
    【解决方案2】:

    我在网上找到了这个: “要修复“您的设备与此版本不兼容”错误消息,请尝试清除 Google Play 商店缓存,然后清除数据。接下来,重新启动 Google Play 商店并尝试再次安装该应用程序。” (来自https://support.getupside.com/hc/en-us/articles/226667067--Device-not-compatible-error-message-in-Google-Play-Store#:~:text=It%20appears%20to%20be%20an,try%20installing%20the%20app%20again.&text=From%20here%20navigate%20to%20Apps%2C%20or%20App%20Manager.) 也许有帮助。

    【讨论】:

    • 感谢您的回复。我确实尝试过,但没有运气。我认为问题出在我上传到 Google Play 控制台的 APK 上。我正在测试的设备没有出现在设备目录中,这表明我的 Unity 项目中有一些东西妨碍了兼容性
    猜你喜欢
    • 2019-06-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多