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
1 Answer 1
Strangely, it seems that the HMS converter, although the latest version is adding some old dependencies:
after updating to a newer version the errors were resolved.