java - libgdx's gradlew doesn't work in Fedora -


so tried create libgdx project libgdx-setup:

./gradlew desktop:run  


and got following output:

configuration on demand incubating feature. :core:compilejava  failure: build failed exception.  * went wrong: not resolve dependencies configuration ':core:compile'. 

unexpected lock protocol found in lock file. expected 3, found 0.

* try: run --stacktrace option stack trace. run --info or --debug option more log output.  build failed  total time: 1.281 secs 

it strange have never met trouble before. searched through internet , got nothing useful, come here ask help. answer appreciated. thanks.

this happens if messed gradle environment. remove ~/.gradle/ directory or invalidate caches of gradle. should trick.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -

jdbc - Not able to establish database connection in eclipse -