无法使用react-native为android构建
发布时间:2020-12-15 20:49:59 所属栏目:百科 来源:网络整理
导读:我正在尝试运行react-native run- android但我不断得到这个错误.我在模拟器上运行.我使用react-native init启动了应用程序. PS:我在代理上运行. 当我试图跑 react-native run-android 我明白了: FAILURE: Build failed with an exception.* What went wron
我正在尝试运行react-native run-
android但我不断得到这个错误.我在模拟器上运行.我使用react-native init启动了应用程序.
PS:我在代理上运行. 当我试图跑
我明白了: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'AwesomeProject'. > Could not resolve all dependencies for configuration ':classpath'. > Could not resolve com.android.tools.build:gradle:2.2.3. Required by: :AwesomeProject:unspecified > Could not resolve com.android.tools.build:gradle:2.2.3. > Could not get resource 'https://jcenter.bintray.com/com/android/tool /build/gradle/2.2.3/gradle-2.2.3.pom'. > Could not GET 'https://jcenter.bintray.com/com/android/tools/buil /gradle/2.2.3/gradle-2.2.3.pom'. Received status code 407 from server: Proxy Authentication Required 当我试图跑
我明白了: Error:Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle- 2.2.3.pom'. Received status code 407 from server: Proxy Authentication Required <a href="toggle.offline.mode">Enable Gradle 'offline mode' and sync project</a> 我安装了node_modules,我不知道还有什么可以尝试,我一直在谷歌上搜索过去4个小时并且没有提出任何问题.
设置您的代理详细信息内部sdk管理器
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |