Merhaba, aslında bu hatayı ilk Android Studio’da aldım birde VSC’ deneyeyim denedim onda da aynı çıktı.bilen biri yardımcı olabilirse çok sevinirim takıldım kaldım.
VSC’de hata mesajı
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;29.0.2 Android SDK Build-Tools 29.0.2
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Using Android SDK: C:\Users\Administrator\AppData\Local\Android\sdk
BU�LD FAILED in 8s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
Flutter doctor çıktısı
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.0.1, on Microsoft Windows [Version 10.0.18363.1350], locale tr-TR)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
! Some Android licenses not accepted. To resolve this, run: flutter doctor –android-licenses
[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[√] Android Studio (version 4.1.0)
[√] VS Code (version 1.54.1)
[√] Connected device (1 available)
! Doctor found issues in 2 categories.