I have a Mac, and when I run Flutter application with VSCode on iPhone it works, but if I run the same application on Android phone then throw error
Already Question But No Answer :
Execution failed for task ':app:desugarDebugFileDependencies'
Visual Studio Error :
Android Studio Error :
Use the Android SDK manager to uninstall build tools 28, and then reinstall them. That worked for me.
The build tools are listed under the ‘SDK Tools’ tab, you have to uncheck ‘Hide obsolete packages’ and check ‘Show package details’ to show version 28 of the build tools.
Answered By – Roy
Answer Checked By – Jay B. (FlutterFixes Admin)