一区二区三区欧美日韩-一区二区三区欧美-一区二区三区免费在线视频-一区二区三区免费在线观看-久久精品店-久久精品第一页

歡迎您光臨深圳塔燈網(wǎng)絡(luò)科技有限公司!
電話圖標 余先生:13699882642

網(wǎng)站百科

為您解碼網(wǎng)站建設(shè)的點點滴滴

flutter打包出錯問題處理

發(fā)表日期:2018-12 文章編輯:小燈 瀏覽次數(shù):4699

打包失敗

flutter build apk --releaseInitializing gradle... 3.5sResolving dependencies... 215.7sGradle task 'assembleRelease'...FAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':app:lintVitalRelease'.> Could not resolve all files for configuration ':app:lintClassPath'. > Could not download lint-checks.jar (com.android.tools.lint:lint-checks:26.2.1)> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-checks/26.2.1/lint-checks-26.2.1.jar'. > Read timed out > Could not download lint-api.jar (com.android.tools.lint:lint-api:26.2.1)> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-api/26.2.1/lint-api-26.2.1.jar'. > Read timed out > Could not download intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.2.1)> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/external/com-intellij/intellij-core/26.2.1/intellij-core-26.2.1.jar'. > Read timed out > Could not download uast.jar (com.android.tools.external.org-jetbrains:uast:26.2.1)> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/external/org-jetbrains/uast/26.2.1/uast-26.2.1.jar'. > Read timed out > Could not download groovy-all.jar (org.codehaus.groovy:groovy-all:2.4.12)> Could not get resource 'https://jcenter.bintray.com/org/codehaus/groovy/groovy-all/2.4.12/groovy-all-2.4.12.jar'. > Could not GET 'https://jcenter.bintray.com/org/codehaus/groovy/groovy-all/2.4.12/groovy-all-2.4.12.jar'.> Connect to d29vzk4ow07wi7.cloudfront.net:443 [d29vzk4ow07wi7.cloudfront.net/13.32.163.34, d29vzk4ow07wi7.cloudfront.net/13.32.163.93, d29vzk4ow07wi7.cloudfront.net/13.32.163.242, d29vzk4ow07wi7.cloudfront.net/13.32.163.206] failed: Read timed out > Could not download trove4j.jar (org.jetbrains.trove4j:trove4j:20160824)> Could not get resource 'https://jcenter.bintray.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar'. > Could not GET 'https://jcenter.bintray.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar'.> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/75.126.118.188] failed: Read timed out > Could not download kotlin-compiler.jar (com.android.tools.external.com-intellij:kotlin-compiler:26.2.1)> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/external/com-intellij/kotlin-compiler/26.2.1/kotlin-compiler-26.2.1.jar'. > Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/external/com-intellij/kotlin-compiler/26.2.1/kotlin-compiler-26.2.1.jar'.> Remote host closed connection during handshake > Could not download error_prone_annotations.jar (com.google.errorprone:error_prone_annotations:2.0.18)> Could not get resource 'https://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.0.18/error_prone_annotations-2.0.18.jar'. > Could not GET 'https://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.0.18/error_prone_annotations-2.0.18.jar'.> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/75.126.118.188] 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.orgBUILD FAILED in 4m 1s


修改項目下build.gradle和flutter/packages/flutter_tools/gradle/flutter.gradle兩個文件中buildscript和allprojects,共三處

google()
jcenter()

maven { url?'https://maven.aliyun.com/repository/google'?}
maven { url?'https://maven.aliyun.com/repository/jcenter'?}
maven { url?'http://maven.aliyun.com/nexus/content/groups/public'?}

打包成功

Gradle task 'assembleRelease'... Done 21.9s
Built build/app/outputs/apk/release/app-release.apk (5.3MB).


本頁內(nèi)容由塔燈網(wǎng)絡(luò)科技有限公司通過網(wǎng)絡(luò)收集編輯所得,所有資料僅供用戶學習參考,本站不擁有所有權(quán),如您認為本網(wǎng)頁中由涉嫌抄襲的內(nèi)容,請及時與我們聯(lián)系,并提供相關(guān)證據(jù),工作人員會在5工作日內(nèi)聯(lián)系您,一經(jīng)查實,本站立刻刪除侵權(quán)內(nèi)容。本文鏈接:http://www.junxiaosheng.cn/17584.html
相關(guān)APP開發(fā)
 八年  行業(yè)經(jīng)驗

多一份參考,總有益處

聯(lián)系深圳網(wǎng)站公司塔燈網(wǎng)絡(luò),免費獲得網(wǎng)站建設(shè)方案及報價

咨詢相關(guān)問題或預(yù)約面談,可以通過以下方式與我們聯(lián)系

業(yè)務(wù)熱線:余經(jīng)理:13699882642

Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.    

主站蜘蛛池模板: 精品国产在线观看福利| YELLOW视频在线观看免费版高清| 亚洲精品有码在线观看| 最新男同鸭子ktv| 国产精品97久久久久久AV色戒| 久久国产欧美| 午夜电影三级还珠格格| 99久久国产露脸精品竹菊传煤 | 女教师苍井空体肉女教师S242| 无码国产成人777爽死| 97国产精品视频在线观看| 国产一区二区三区影院| 日本人的xxxxxxxxx69| 91av影院| 久久综合狠狠综合久久综合88| 亚洲高清视频在线| 国产69精品久久久久无码麻豆| 嗯好大好猛皇上好深用力| 伊人久久大香线蕉综合高清| 国产亚洲AV精品无码麻豆| 色综合五月激情综合色一区| JAPANRCEP老熟妇乱子伦视频| 伦理片天堂eeuss影院| 一本道mw高清码二区三区| 国产在线综合色视频| 视频成人app永久在线观看 | 色婷婷AV国产精品欧美毛片| caoporen超碰在线视频| 免费精品国产人妻国语| 伊人久久综合成人亚洲| 寂寞夜晚看免费视频| 亚洲国产精品嫩草影院久久| 国产精品禁18久久久夂久| 日本黄色官网| 别停好爽好深好大好舒服视频| 欧美激情视频在线观看一区二区三区| 18岁男人女人插孔| 美女图片131亚洲午夜| 91久久偷偷看嫩草影院无费| 老汉老太bbbbbxxxxx| 最近中文字幕在线中文视频|