HMS-Core / hms-react-native-plugin

This repo contains all of React-Native HMS plugins.
https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1
Apache License 2.0
235 stars 67 forks source link

A problem occurred configuring project ':hmscore_react-native-hms-analytics'. #253

Closed Daha62 closed 1 year ago

Daha62 commented 1 year ago

Good day sometimes I facing with problem:

A problem occurred configuring project ':hmscore_react-native-hms-analytics'.

Could not resolve all files for configuration ':hmscore_react-native-hms-analytics:classpath'. Could not download asm-commons-7.0.jar (org.ow2.asm:asm-commons:7.0) Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm-commons/7.0/asm-commons-7.0.jar'. Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm-commons/7.0/asm-commons-7.0.jar'. jcenter.bintray.com Could not download txw2-2.3.1.jar (org.glassfish.jaxb:txw2:2.3.1) Could not get resource 'https://jcenter.bintray.com/org/glassfish/jaxb/txw2/2.3.1/txw2-2.3.1.jar'. Could not GET 'https://jcenter.bintray.com/org/glassfish/jaxb/txw2/2.3.1/txw2-2.3.1.jar'. jcenter.bintray.com

Not only with analytics package, also can fall with any

Environment: "@hmscore/react-native-hms-analytics": "6.3.2-302", "@hmscore/react-native-hms-push": "6.5.0-300", "@react-native-agconnect/crash": "1.2.0", "react-native": "0.70.5",

Any ideas?
xuxiapu commented 1 year ago

Dear developer,

We suspect that this may be due to the configuration failure caused by your network problem. You can check whether there is a problem with the network you are using, or the proxy you are using. This is why the two links cannot be downloaded.

Daha62 commented 1 year ago

oh, it was because of jcenter, thank you!