LeoAndo / flutter-training

0 stars 0 forks source link

Fix: Installed Build Tools revision 29.0.2 is corrupted. Remove and install again using the SDK Manager. #64

Open LeoAndo opened 1 year ago

LeoAndo commented 1 year ago

エラー内容

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Installed Build Tools revision 29.0.2 is corrupted. Remove and install again using the SDK Manager.

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

* Get more help at https://help.gradle.org/

BUILD FAILED in 17s
Exception: Gradle task assembleDebug failed with exit code 1
Exited
LeoAndo commented 1 year ago

対処方法

SDK ManagerからBuild Tools revision 29.0.2を最新にする。

LeoAndo commented 1 year ago

手順

Android Studioを開き右上の SDK managerのアイコンをクリックする

スクリーンショット 2022-11-11 15 29 01

29.0.2にチェックを入れて、OKボタンをクリックする

スクリーンショット 2022-11-11 15 30 37