gpt4 book ai didi

java - 发布到 Play 商店时支持的设备为零

转载 作者:可可西里 更新时间:2023-11-01 11:43:04 24 4
gpt4 key购买 nike

我已经为 Android 开发了一个应用程序。 A 在尝试将我的应用程序上传到 Google Play 商店时遇到问题。我发现了很多与此相关的问题,但没有找到任何解决方案。

当我将我的应用程序的 APK 手动安装到设备时,它工作正常,但当我尝试上传到 Play 商店时,它显示零个支持的设备

这是我的 list 文件

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

<uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="22" />

<uses-feature
android:name="android.hardware.camera"
android:required="true" />
<uses-feature
android:name="android.hardware.camera.front"
android:required="false" />

<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:resizeable="true" />

<compatible-screens>

<!-- small size screens -->
<screen android:screenSize="small" android:screenDensity="ldpi" />
<screen android:screenSize="small" android:screenDensity="mdpi" />
<screen android:screenSize="small" android:screenDensity="hdpi" />
<screen android:screenSize="small" android:screenDensity="xhdpi" />

<!--Only hdpi and xhdpi for normal size screens -->
<screen android:screenSize="normal" android:screenDensity="ldpi" />
<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="ldpi" />
<screen android:screenSize="large" android:screenDensity="mdpi" />
<screen android:screenSize="large" android:screenDensity="hdpi" />
<screen android:screenSize="large" android:screenDensity="xhdpi" />

<!-- all xlarge size screens -->
<screen android:screenSize="xlarge" android:screenDensity="ldpi" />
<screen android:screenSize="xlarge" android:screenDensity="mdpi" />
<screen android:screenSize="xlarge" android:screenDensity="hdpi" />
<screen android:screenSize="xlarge" android:screenDensity="xhdpi" />

<!-- Special case for Nexus 7 -->
<screen android:screenSize="large" android:screenDensity="213" />

</compatible-screens>

<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="ansdroid.permission.GET_ACCOUNTS" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.CAMERA" />

<permission
android:name="com.ex.example.ex.permission.C2D_MESSAGE"
android:protectionLevel="signature" />

<uses-permission android:name="com.ex.example.ex.permission.C2D_MESSAGE" />
<uses-permission android:name="com.google.android.c2dm.permission.SEND" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.READ_SMS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />

最佳答案

发生这种情况时,您必须:

  • 逐一删除您的权限,以查明其中是否有问题。

  • 尝试将所有“uses-feature”标签设置为“false”

希望一切顺利

关于java - 发布到 Play 商店时支持的设备为零,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35404579/

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