1
votes

any idea how to solve this ?

Thank you!

enter image description here

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\Users\JoinUser10\Desktop\Travelling flutter Androd\source\build\app\intermediates\flutter\debug\flutter_assets\AssetManifest.json

  • 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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 6s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 7,7s Exception: Gradle task assembleDebug failed with exit code 1

1
Did you solve the problem with flutter.gradle' line: 991? - Moo
No, I just create a new project and moved all code to the new project - Πέτρος Πολλάκης

1 Answers

0
votes

I Solved the problem using

    flutter clean

Then I used pub get and everything worked smoothly