gpt4 book ai didi

android - React-native 无法运行-android

转载 作者:塔克拉玛干 更新时间:2023-11-01 21:54:58 26 4
gpt4 key购买 nike

接着是:https://facebook.github.io/react-native/docs/getting-started.html ,我创建了一个空项目并试图通过执行以下操作来运行它:sudo react-native run-android这是生成的内容:

Starting JS server...
Building and installing the app on the device (cd android && ./gradlew installDebug...
Downloading https://services.gradle.org/distributions/gradle-2.4-all.zip

Exception in thread "main" javax.net.ssl.SSLHandshakeException:

sun.security.validator.ValidatorException: PKIX path building failed:

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

(如果有用的话,我可以发布其余的错误)。有人有什么建议吗?

最佳答案

更改分发网址:

android/gradle/wrapper/gradle-wrapper.properties

httpshttp

关于android - React-native 无法运行-android,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37495249/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com