I'm having trouble while building for android. Below the output for 'flutter run':
`FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':map_launcher:parseDebugLocalResources'.
There was a failure while populating the build operation queue: Failed to create MD5 hash for file content.
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.
`
I already executed flutter clean and flutter pub get
The flutter doctor output:
`Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel unknown, 2.10.5, on Microsoft Windows [Version 10.0.22621.819], locale pt-BR)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Enterprise 2022 17.3.5)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.73.1)
[√] Connected device (4 available)
[√] HTTP Host Availability
• No issues found!
`
I've solved changing compileSdkVersion from 28 to 31 on plugin build.gradle file.
I'm having trouble while building for android. Below the output for 'flutter run': `FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':map_launcher:parseDebugLocalResources'.
I already executed
flutter clean
andflutter pub get
The
flutter doctor
output: `Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel unknown, 2.10.5, on Microsoft Windows [Version 10.0.22621.819], locale pt-BR) [√] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [√] Chrome - develop for the web [√] Visual Studio - develop for Windows (Visual Studio Enterprise 2022 17.3.5) [√] Android Studio (version 2021.2) [√] VS Code (version 1.73.1) [√] Connected device (4 available) [√] HTTP Host Availability• No issues found! `
I've solved changing
compileSdkVersion
from 28 to 31 on plugin build.gradle file.