1

I am trying to port an app for AppGallery. While trying to build over HMS it is giving me the following error:

* What went wrong:

Execution failed for task ':app:mergeDebugNativeLibs'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find com.huawei.hms:ads-identifier:3.4.40.300. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/huawei/hms/ads-identifier/3.4.40.300/ads-identifier-3.4.40.300.pom - https://jcenter.bintray.com/com/huawei/hms/ads-identifier/3.4.40.300/ads-identifier-3.4.40.300.pom - https://maven.google.com/com/huawei/hms/ads-identifier/3.4.40.300/ads-identifier-3.4.40.300.pom - https://developer.huawei.com/repo/com/huawei/hms/ads-identifier/3.4.40.300/ads-identifier-3.4.40.300.pom Required by:

The repository is indeed in the gradle file. Any help will be appreciated

asked Aug 13, 2022 at 9:54

1 Answer 1

1

Strangely, it seems that the HMS converter, although the latest version is adding some old dependencies:

Could not find com.huawei.hms:hwid:5.3.0.301 & push kit when adding HMS alongside GMS using HMS Toolkit

after updating to a newer version the errors were resolved.

answered Aug 14, 2022 at 11:07
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.