Could not create task ‘:app:minifyDebugWithR8‘ Cannot query the value of this provider
一定要显示的指定build-tool版本在app下的build.gradle 中 android「buildToolsVersion "xxxx"」buildToolsVersion '31.0.0 rc2'如果是plugin 3.X以上的,不需要指定也可以,AS会自动选择最小的可用的buildTool, 如果你本地没有最小版本的BuildTool的话,就会报如下错误:这时候我们只需 手动指定版本
·
一定要显示的指定build-tool版本
在app下的build.gradle 中 android「buildToolsVersion "xxxx"」
buildToolsVersion '31.0.0 rc2'
如果是plugin 3.X以上的,不需要指定也可以,AS会自动选择最小的可用的buildTool, 如果你本地没有最小版本的BuildTool的话,就会报如下错误:
这时候我们只需 手动指定版本就好了。
更多推荐
已为社区贡献1条内容
所有评论(0)