Search code examples
huawei-mobile-serviceshuawei-developershuawei-map-kit

Unresolved reference: xms. Huawei Xms adaption layer is not working


I'm trying to add a G+H solution for my app. I've done conversion from HMS toolkit. But after the conversion, it gives me error on xms imports also it's give me error regarding

Could not resolve all artifacts for configuration ':classpath'.

Could not find com.huawei.agconnect:agconnect-apms-plugin:1.5.1.300. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/huawei/agconnect/agconnect-apms-plugin/1.5.1.300/agconnect-apms-plugin-1.5.1.300.pom - https://jcenter.bintray.com/com/huawei/agconnect/agconnect-apms-plugin/1.5.1.300/agconnect-apms-plugin-1.5.1.300.pom - https://developer.huawei.com/repo/com/huawei/agconnect/agconnect-apms-plugin/1.5.1.300/agconnect-apms-plugin-1.5.1.300.pom Required by: project :

Possible solution:


Solution

  • The problem may be due to your APM plugin. Try changing it to classpath 'com.huawei.agconnect:agconnect-apms-plugin:1.4.1.306' may solve your issue.

    enter image description here

    For Details,check Docs.