0

我正在尝试从以前可以正常工作的flutter项目构建一个android应用程序,我得到的错误是

Execution failed for task ':app:mergeKoutDebugAssets'.
> Could not resolve all files for configuration ':app:koutDebugRuntimeClasspath'.
   > Could not find core-ktx-1.8.0-alpha01.aar (androidx.core:core-ktx:1.8.0-alpha01).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/androidx/core/core-ktx/1.8.0-alpha01/core-ktx-1.8.0-alpha01.aar
   > Could not find core-1.8.0-alpha01.aar (androidx.core:core:1.8.0-alpha01).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/androidx/core/core/1.8.0-alpha01/core-1.8.0-alpha01.aar
   > Could not find core-1.8.0-alpha01.aar (androidx.core:core:1.8.0-alpha01).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/androidx/core/core/1.8.0-alpha01/core-1.8.0-alpha01.aar
   > Could not find core-1.8.0-alpha01.aar (androidx.core:core:1.8.0-alpha01).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/androidx/core/core/1.8.0-alpha01/core-1.8.0-alpha01.aar
   > Could not find core-1.8.0-alpha01.aar (androidx.core:core:1.8.0-alpha01).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/androidx/core/core/1.8.0-alpha01/core-1.8.0-alpha01.aar
   > Could not find core-1.8.0-alpha01.aar (androidx.core:core:1.8.0-alpha01).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/androidx/core/core/1.8.0-alpha01/core-1.8.0-alpha01.aar
   > Could not find core-1.8.0-alpha01.aar (androidx.core:core:1.8.0-alpha01).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/androidx/core/core/1.8.0-alpha01/core-1.8.0-alpha01.aar
   > Could not find core-1.8.0-alpha01.aar (androidx.core:core:1.8.0-alpha01).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/androidx/core/core/1.8.0-alpha01/core-1.8.0-alpha01.aar

我确定我有互联网连接,并且我还尝试将错误中提到的 URL 复制并粘贴到浏览器中,文件已成功下载

4

0 回答 0