gpt4 book ai didi

Android:应用与华为不兼容?

转载 作者:塔克拉玛干 更新时间:2023-11-02 19:00:52 24 4
gpt4 key购买 nike

我在市场上列出了两个应用程序。其中一个是免费的演示应用程序,第二个是解锁第一个应用程序完整版本的第二个关键应用程序。我收到一位用户的报告,该演示安装在他们的华为上,但市场将他们的应用程序列为“不兼容”。我还没有收到任何其他关于此的报告,并且在 Google 上找不到任何有用的信息。下面是两个 list xml,首先是演示应用程序,其次是关键应用程序。这可能是由检查许可证权限引起的吗?在 android market 开发者控制台中,两个应用程序的“支持的设备”部分完全相同:

Supported Devices [Learn More] This application is only available to devices with these features, as defined in your application manifest.

Screen layouts: SMALL NORMAL LARGE XLARGE

Required device features android.hardware.touchscreen

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="..."
android:versionCode="3"
android:versionName="1.1">
<application ...>
</application>
<uses-sdk android:minSdkVersion="7" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package=...
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="7"/>
<uses-permission android:name="com.android.vending.CHECK_LICENSE" />
<application ...
</application>
</manifest>

最佳答案

要做的一件事是从市场下载这两个应用程序,将它们从设备上拉下来(使用“adb pull”),然后在每个应用程序上使用“aapt dump badging”。这将打印出应用程序的“徽章”信息;这与 Market 用来确定应用程序的过滤和其他事情的东西是一样的。如果它们之间没有什么不同,那么问题不在于您构建应用程序的方式。

关于Android:应用与华为不兼容?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6344729/

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