Issue
I make a flutter project on windows using android studio, it work properly but now i used MAC OS and when i coppied my code on MAC it run on simulator perfectly but it gives error when i run it on android emulator. I am new for MAC OS and no idea about this error. I user android studio for coding.
Error log
Could not determine the dependencies of task ':app:flutterBuildDebug'.
> java.net.URISyntaxException: Illegal character in opaque part at index 2:
C:\\Users\\Boffin\
BUILD FAILED in 1s
Finished with error: Gradle task assembleDebug failed with exit code 1
Solution
Please try running flutter create
in the same folder as your project in order to re-create all the IDE files & path configurations to the SDK.
This is sometimes necessary after platform upgrades or when moving code from one developer PC to the other.
Answered By - Sebastian Roth
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.