0

running my first flutter project on VS Code connected to my android device, I get stuck on Gradle task 'assembleDebug' and noticed that it duplicates some sdkmanager packages like "emulator-2" and "v4-2" (inside Patcher folder).

//inside vs Code Debug Console

  • Launching lib\main.dart on vivo 1906 in debug mode... lib\main.dart:1
  • Checking the license for package SDK Patch Applier v4 in C:\Users\Alpha\AppData\Local\FlutterDev\Android-SDK\cmdline-tools\licenses
  • License for package SDK Patch Applier v4 accepted.
  • Preparing "Install SDK Patch Applier v4 (revision: 1)".
  • Installing in "C:\Users\Alpha\AppData\Local\FlutterDev\Android-SDK\cmdline-tools\patcher\v4-2" instead.
  • Installing in "C:\Users\Alpha\AppData\Local\FlutterDev\Android-SDK\cmdline-tools\patcher\v4-2" instead.
  • "Install SDK Patch Applier v4 (revision: 1)" ready.
  • Installing SDK Patch Applier v4 in C:\Users\Alpha\AppData\Local\FlutterDev\Android-SDK\cmdline-tools\patcher\v4-2
  • "Install SDK Patch Applier v4 (revision: 1)" complete.
  • "Install SDK Patch Applier v4 (revision: 1)" finished.
  • License for package Android Emulator accepted.
  • License for package Android Emulator accepted.
  • Preparing "Install Android Emulator (revision: 31.3.12)".
  • Warning: Package "com.android.repository.impl.generated.v1.RemotePackage@86391d73" (emulator) should be installed in "C:\Users\Alpha\AppData\Local\FlutterDev\Android-SDK\cmdline-tools\emulator" but it already exists.
  • Installing in "C:\Users\Alpha\AppData\Local\FlutterDev\Android-SDK\cmdline-tools\emulator-2" instead. //This is where I get stuck.

0 Answers0