[英]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.