0
votes

This problem arrises when i run my first flutter program in vscode and java both cachex.pdn.ac.lk is an proxy address used earlier but now it is removed in pc settings and app settings. thank you!

Launching lib\main.dart on Android SDK built for x86 in debug mode... Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

BUILD FAILED in 18s Exception: Gradle task assembleDebug failed with exit code 1

1
Is your firewall blocking vscode for some reason?S.Ramjit
provide app/build.gradleAdnan karim
No the error was in java version. I roll back my java version to java 8supunvindula

1 Answers

0
votes

Error is with java version. I have rolled it back to java 8 and got it working