首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >flutter包返回jcenter 403禁止

flutter包返回jcenter 403禁止
EN

Stack Overflow用户
提问于 2021-05-16 15:02:46
回答 1查看 295关注 0票数 0

我在Flutter中添加了SMS库,但在编译flutter后返回以下错误:

代码语言:javascript
复制
    FAILURE: Build failed with an exception.

    * What went wrong:
    A problem occurred configuring project ':sms'.
    > Could not resolve all artifacts for configuration ':sms:classpath'.
       > Could not resolve com.android.tools.build:gradle:3.0.1.
         Required by:
             project :sms
          > Could not resolve com.android.tools.build:gradle:3.0.1.
             > Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom'.
                > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom'. Received status code 403 from server: Forbidden
    > Could not get unknown property 'android' for project ':sms' of type org.gradle.api.Project.
    
    * 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
    
    BUILD FAILED in 3s
    Exception: Gradle task assembleDebug failed with exit code 1

在这种情况下我能做些什么?提前感谢!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-05-16 15:28:48

新浪,你正在从伊朗连接,我们被谷歌禁止了…使用VPN...我推荐使用proton

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67553927

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档