【发布时间】: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