简体   繁体   English

android failed 无法解析配置':app:debugRuntimeClasspath'的所有依赖项

[英]android failed Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'

can anyone help me how i fix that谁能帮我解决这个问题

android: failed Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath' Failed to find target with hash string '1.3.50' in: C:\\Users\\MB\\AppData\\Local\\Android\\Sdk android: failed 无法解析配置的所有依赖项 ':app:debugRuntimeClasspath' 无法在以下位置找到带有哈希字符串 '1.3.50' 的目标:C:\\Users\\MB\\AppData\\Local\\Android\\Sdk

this from event log这来自事件日志

20:29 Gradle sync started 20:29 Gradle sync failed: Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. 20:29 Gradle 同步开始 20:29 Gradle 同步失败:无法解析配置“:app:debugRuntimeClasspath”的所有依赖项。 Could not create task ':app:minifyReleaseWithR8'.无法创建任务 ':app:minifyReleaseWithR8'。 Cannot query the value of this provider because it has no value available.无法查询此提供程序的值,因为它没有可用的值。 (2 s 996 ms) (2 秒 996 毫秒)

I think you are missing one or two build tools versions that you project needs.我认为您缺少项目所需的一两个构建工具版本。 Check your target and compile versions of your project and then install the build tools for that level.检查您的项目的目标和编译版本,然后安装该级别的构建工具。 If you have time you can just install it one by one to figure out which one is missing.如果你有时间,你可以一个一个地安装它,找出缺少哪一个。

Eg If your target is 28, install build tools 28.0.3, 28.0.2, 28.0.1 and 28.0.0例如,如果您的目标是 28,请安装构建工具 28.0.3、28.0.2、28.0.1 和 28.0.0

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Gradle 同步失败:无法解析配置“:app:debugRuntimeClasspath”的所有依赖项 - Gradle sync failed: Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath' ANDROID STUDIO 无法解析配置 ':app:debugRuntimeClasspath' 的所有依赖项 - ANDROID STUDIO Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath' 无法解析配置“:app:debugRuntimeClasspath”的所有文件。 同时在 android studio chipmunk 添加新的依赖 - Could not resolve all files for configuration ':app:debugRuntimeClasspath'. while adding new dependencies in android studio chipmunk 无法解析配置 ':app:debugRuntimeClasspath' android studio 的所有文件 - Could not resolve all files for configuration ':app:debugRuntimeClasspath' android studio 无法解析配置“:app:debugRuntimeClasspath”的所有文件 - Could not resolve all files for configuration ':app:debugRuntimeClasspath' 无法解析所有配置文件:':app:debugRuntimeClasspath' - Could not resolve all files for configuration: ':app:debugRuntimeClasspath' 无法解析配置 ':app:debugRuntimeClasspath 的所有文件 - Could not resolve all files for configuration ':app:debugRuntimeClasspath 我在构建同步时收到此错误“无法解析配置的所有依赖项 ':app:debugRuntimeClasspath' - I m getting this error while build sync "Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath' Flutter:任务“:app:checkDebugAarMetadata”执行失败。 无法解析配置“:app:debugRuntimeClasspath”的所有文件 - Flutter: Execution failed for task ':app:checkDebugAarMetadata'. Could not resolve all files for configuration ':app:debugRuntimeClasspath' 为什么Flutter构建失败并出现错误无法解析配置':app:debugRuntimeClasspath'的所有文件 - Why does the Flutter build failed with the error Could not resolve all files for configuration ':app:debugRuntimeClasspath'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM