繁体   English   中英

无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系 - Flutter

[英]Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' - Flutter

我刚开始 flutter 在线课程。 我遵循了讲师所做的每一步,但是当我运行项目时,我收到了这个错误:

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Failed to install the following Android SDK packages as some licences have not been accepted.
     build-tools;28.0.3 Android SDK Build-Tools 28.0.3
     platforms;android-29 Android SDK Platform 29
  To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
  Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html

  Using Android SDK: C:\Users\ASUS\AppData\Local\Android\sdk

* 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.

我没有得到他们在那里说的任何东西,而且我是堆栈溢出的新手,所以请不要介意我的问题是否不好。 任何帮助表示赞赏,谢谢!

这是我用的模拟器:模拟器的图片

您需要打开 SDK 管理器 window 并接受那里的许可协议。

暂无
暂无

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM