PalaTeam / flutter_video_cast

MIT License
37 stars 67 forks source link

Error when trying to compile the example code #26

Closed fuedgabriel closed 9 months ago

fuedgabriel commented 9 months ago

Launching lib\main.dart on Redmi Note 8 in debug mode... Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

BUILD FAILED in 34s Exception: Gradle task assembleDebug failed with exit code 1

PS C:\Users\Draco> flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.16.5, on Microsoft Windows [versÆo 10.0.19045.3803], locale pt-BR) [✓] Windows Version (Installed version of Windows is version 10 or higher) [!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) ✗ cmdline-tools component is missing Run path/to/sdkmanager --install "cmdline-tools;latest" See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/windows#android-setup for more details. [✓] Chrome - develop for the web [✗] Visual Studio - develop Windows apps ✗ Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [✓] Android Studio (version 2022.3) [✓] VS Code, 64-bit edition (version 1.83.1) [✓] Connected device (4 available) [✓] Network resources

fuedgabriel commented 9 months ago

FAILURE: Build failed with an exception.

fuedgabriel commented 9 months ago

Solution https://www.youtube.com/watch?v=a6nYecHJhF4