起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2514|回复: 0

[未处理] 打包报错repositories.cfg could not be loaded.

[复制链接]

165

主题

626

帖子

1160

积分

金牌会员

Rank: 6Rank: 6

积分
1160
QQ
发表于 2020-12-15 13:34:54 | 显示全部楼层 |阅读模式
Incremental java compilation is an incubating feature.
      java.net.UnknownHostException: dl.google.com
      File C:\Users\Administrator\.android\repositories.cfg could not be loaded.
      Failed to connect to host: https://dl.google.com/android/repository/addons_list-3.xml
      Failed to connect to host: https://dl.google.com/android/repository/addons_list-2.xml
      Failed to connect to host: https://dl.google.com/android/repository/addons_list-1.xml
      Failed to download any source lists!
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      A problem occurred configuring root project 'android'.
      > Could not resolve all dependencies for configuration ':_debugApkCopy'.
         > Could not resolve androidx.exifinterface:exifinterface:1.2.0.
           Required by:
               project :
            > Could not resolve androidx.exifinterface:exifinterface:1.2.0.
               > Could not get resource 'https://repo1.maven.org/maven2/androidx/exifinterface/exifinterface/1.2.0/exifinterface-1.2.0.pom'.
                  > Could not GET 'https://repo1.maven.org/maven2/androidx/exifinterface/exifinterface/1.2.0/exifinterface-1.2.0.pom'.
                     > repo1.maven.org
            > Could not resolve androidx.exifinterface:exifinterface:1.2.0.
               > Could not get resource 'https://jcenter.bintray.com/androidx/exifinterface/exifinterface/1.2.0/exifinterface-1.2.0.pom'.
                  > Could not GET 'https://jcenter.bintray.com/androidx/exifinterface/exifinterface/1.2.0/exifinterface-1.2.0.pom'.
                     > jcenter.bintray.com
            > Could not resolve androidx.exifinterface:exifinterface:1.2.0.
               > Could not get resource 'https://maven.google.com/androidx/exifinterface/exifinterface/1.2.0/exifinterface-1.2.0.pom'.
                  > Could not GET 'https://maven.google.com/androidx/exifinterface/exifinterface/1.2.0/exifinterface-1.2.0.pom'.
                     > maven.google.com
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      
      BUILD FAILED
      
      Total time: 4.927 secs
      Error: cmd: Command failed with exit code 1 Error output:
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      A problem occurred configuring root project 'android'.
      > Could not resolve all dependencies for configuration ':_debugApkCopy'.
         > Could not resolve androidx.exifinterface:exifinterface:1.2.0.
           Required by:
               project :
            > Could not resolve androidx.exifinterface:exifinterface:1.2.0.
               > Could not get resource 'https://repo1.maven.org/maven2/androidx/exifinterface/exifinterface/1.2.0/exifinterface-1.2.0.pom'.
                  > Could not GET 'https://repo1.maven.org/maven2/androidx/exifinterface/exifinterface/1.2.0/exifinterface-1.2.0.pom'.
                     > repo1.maven.org
            > Could not resolve androidx.exifinterface:exifinterface:1.2.0.
               > Could not get resource 'https://jcenter.bintray.com/androidx/exifinterface/exifinterface/1.2.0/exifinterface-1.2.0.pom'.
                  > Could not GET 'https://jcenter.bintray.com/androidx/exifinterface/exifinterface/1.2.0/exifinterface-1.2.0.pom'.
                     > jcenter.bintray.com
            > Could not resolve androidx.exifinterface:exifinterface:1.2.0.
               > Could not get resource 'https://maven.google.com/androidx/exifinterface/exifinterface/1.2.0/exifinterface-1.2.0.pom'.
                  > Could not GET 'https://maven.google.com/androidx/exifinterface/exifinterface/1.2.0/exifinterface-1.2.0.pom'.
                     > maven.google.com
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-5-2 22:13 , Processed in 0.054774 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表