簡體   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