Cembora
Cembora

Reputation: 346

Google Play doesn't accept app bundle with any Huawei dependency

When I want to upload app bundle to GooglePlay with any Huawei dependency it gives error without any information.

enter image description here

I tried all of these one by one and every time it gave error until I remove all of these from gradle. I tried to add these dependencies to another app and publish however result was same.

enter image description here

However interestingly I can upload APK without any error.

Upvotes: 3

Views: 1741

Answers (4)

zhangxaochen
zhangxaochen

Reputation: 34017

Update:

Push Kit 5.0.2.300 has not fixed the issue yet. The latest version of SDK will be released in November 16 here. Please update it to 5.0.4.302.


This problem is a known bug and it has been rectified already. Please update the HMS Core SDK to latest version here.

Upvotes: 0

Fakhar Iqbal
Fakhar Iqbal

Reputation: 4069

APK can you uploaded, but Google play console showing error (red icon) while uploading app bundle. since google console is not showing any tip or error details. If you are using Huawei services HMS core related libraries in your application you need to use the latest Huawei push services and it will resolve the problem with app bundle upload.

implementation 'com.huawei.hms:push:5.0.4.302'

Upvotes: 1

mohax
mohax

Reputation: 4585

You can try to upload APK instead of AppBundle. We faced same issue two weeks ago and fix it with uploading APK.

Upvotes: 0

zhangxaochen
zhangxaochen

Reputation: 34017

This problem should be caused by Language package problem.

You can go to the application's build.gradle file, in android->defaultConfig, limit the languege resources to what you'd like to use:

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

Then rebuild the .aab file and try uploading.

Upvotes: 1

Related Questions