flutter Failed to find Build Tools revision 31.0.0
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all dependencies for configuration ':app:lintClassPath'.
> Could not create task ':app:minifyReleaseWithR8'.
> Failed to find Build Tools revision 31.0.0
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
下面是android studio的配置截图
andriod studio可以打包,vscode中无法打包,且已经在.zshrc中配置了相应的环境变量
请各位大佬帮忙看下,谢谢
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
android studio无法使用31打包,需要使用31以下sdk打包