0
  • Where: Build file '/home/dhiraj/Desktop/mine/hamrokart-flutter/android/app/build.gradle' line: 55

  • What went wrong: A problem occurred evaluating project ':app'.

java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\Users\nibba\key.jks

  • 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 0s Exception: Gradle task assembleDebug failed with exit code 1 enter image description here

1
  • Does this answer your question? java.net.URISyntaxException. You're running on a Unix-like system with / paths but that's a Windows path with ``. Also seems to be someone else's "Java Key Store" file for signing the app. Commented Jul 17, 2020 at 6:45

1 Answer 1

0

Make sure your DNS Resolver config file is writable:

Open Terminal.

Type : sudo nano /etc/resolv.conf

Change the IP address in the file to: 8.8.8.8

Press CTRL+X to save the file.

Now you run flutter.

(OR)

delete .grade folder

Sign up to request clarification or add additional context in comments.

1 Comment

Welcome to Stack Overflow. Before you paste this in even more locations, please take the time to read Is it acceptable to add a duplicate answer to several questions?.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.