国产亚洲欧美人成在线,免费视频爱爱太爽了无码,日本免费一区二区三区高清视频 ,国产真实伦对白精彩视频

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

網(wǎng)站百科

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

flutter打包出錯問題處理

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

打包失敗

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ò)收集編輯所得,所有資料僅供用戶學(xué)習(xí)參考,本站不擁有所有權(quán),如您認(rèn)為本網(wǎng)頁中由涉嫌抄襲的內(nèi)容,請及時與我們聯(lián)系,并提供相關(guān)證據(jù),工作人員會在5工作日內(nèi)聯(lián)系您,一經(jīng)查實,本站立刻刪除侵權(quán)內(nèi)容。本文鏈接:http://jstctz.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.