我有一个运行良好的项目,但是自2天以来,该项目停止在我的网络中运行。它给出以下错误。但是,如果我在朋友的互联网上运行相同的项目,那么它将起作用。可能发生了什么事?我想弄清楚两天,但徒劳无功。我正在窗口10中运行它。谢谢..
P.S我尝试过cd android && gradlew清洁,npm安装,但是不起作用
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':@merryjs_photo-viewer:debugCompileClasspath'.
> Could not resolve com.facebook.react:react-native:+.
Required by:
project :@merryjs_photo-viewer
> Could not resolve com.facebook.react:react-native:+.
> Failed to list versions for com.facebook.react:react-native.
> Unable to load Maven meta-data from https://dl.google.com/dl/android/maven2/com/facebook/react/react-native/maven-metadata.xml.
> Could not get resource 'https://dl.google.com/dl/android/maven2/com/facebook/react/react-native/maven-metadata.xml'.
> Could not GET 'https://dl.google.com/dl/android/maven2/com/facebook/react/react-native/maven-metadata.xml'.
> Connect to dl.google.com:443 [dl.google.com/172.217.163.46] failed: Read timed out
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org