android - Google Play 不接受任何依赖华为的应用程序包

标签 android google-play huawei-mobile-services

当我想将带有任何华为依赖项的应用程序包上传到 GooglePlay 时,它会在没有任何信息的情况下给出错误。

enter image description here

我一一尝试了所有这些,每次都出错,直到我从 gradle 中删除所有这些。我尝试将这些依赖项添加到另一个应用程序并发布,但结果是一样的。

enter image description here

不过有趣的是,我可以毫无错误地上传 APK。

最佳答案

这个问题应该是语言包问题导致的。

你可以进入应用程序的build.gradle文件,在android->defaultConfig中,将languege资源限制为你想使用的:

android {
    defaultConfig {
        ...
        resConfigs "en", "fr"  //pick the languages you'd like to use
    }
}

然后重建 .aab 文件并尝试上传。

关于android - Google Play 不接受任何依赖华为的应用程序包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64817443/

相关文章:

huawei-mobile-services - 无法使用云调试来测试我的华为 apk

android - Android Studio 中的 "Android version to use when rendering layouts in the IDE"在哪里设置?

java - 单击列表项显示更多信息

android - 具有硬件编解码器支持的 FFMPEG

android - SeekBar 的拇指只有在被触摸时才会出现

Android youtube 播放器应用程序,google play 拒绝后台播放

google-play - 如何从 Google Play 音乐转移到 Plex 音乐

Android通过开发者控制台自动更新资源文件

android - 为什么我无法获取华为推送响应的token?

firebase - 我们可以将Sentry与NoGMS一起使用吗