Gradle daemon not starting

Godot Version

Godot 4.1.2

Question

When i try to export to android using “gradle build”, it fails and tell me “cannot reach daemon”. What do i do?
And how do i run stacktrace?