mattermoran / map_launcher

Flutter plugin for launching maps
MIT License
259 stars 117 forks source link

Failing to Build Android: Execution failed for task ':map_launcher:parseDebugLocalResources' Change compileSdkVersion to 31 #135

Closed vgobbi8 closed 8 months ago

vgobbi8 commented 1 year ago

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.

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.

mattermoran commented 8 months ago

I'll close this as I don't think it's related to this plugin