PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

Build failed

Open pvase666 opened this issue 10 years ago • 5 comments

C:\Desktop\PokemonGoBot-develop>gradlew --refresh-dependencies clean build

FAILURE: Build failed with an exception.

  • Where: Build file 'C:\Desktop\PokemonGoBot-develop\build.gradle' line: 54

  • What went wrong: A problem occurred evaluating root project 'pogo.scraper'.

    Could not resolve all dependencies for configuration ':compile'. Configuration with name 'default' not found.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 30.748 secs

pvase666 avatar Jul 24 '16 13:07 pvase666

Try to run git submodule update --init --recursive

Messna avatar Jul 24 '16 13:07 Messna

Getting this with the latest:

:build :PokeGOAPI-Java:sourcesJar :PokeGOAPI-Java:assemble :PokeGOAPI-Java:checkstyleMain FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':PokeGOAPI-Java:checkstyleMain'.

    Unable to create a Checker: configLocation {/Users/themattray/Documents/Code/PokemonGoBot/config/checkstyle.xml}, classpath {/Users/themattray/Documents/Code/PokemonGoBot/lib/PokeGOAPI-Java/build/classes/main:/Users/themattray/Documents/Code/PokemonGoBot/lib/PokeGOAPI-Java/build/resources/main}.

TheMattRay avatar Jul 24 '16 14:07 TheMattRay

Getting same error as well.

Could not resolve all dependencies for configuration ':compile'. Configuration with name 'default' not found.

Marrcroger avatar Jul 24 '16 14:07 Marrcroger

Messna suggested the solution you need to run git submodule update --init --recursive

and possibly to make sure everything else is updated gradlew --refresh-dependencies clean build

iamthasasquatch avatar Jul 24 '16 15:07 iamthasasquatch

Thanks. I got it. Working well/

pvase666 avatar Jul 24 '16 16:07 pvase666