GraphView-Demos icon indicating copy to clipboard operation
GraphView-Demos copied to clipboard

gradle build fails

Open ronsmits opened this issue 10 years ago • 2 comments

This was done on a clean checkout of the repository

./gradlew tasks

FAILURE: Build failed with an exception.

* Where:
Build file '/home/ron/src/GraphView-Demos/graphviewdemos/build.gradle' line: 16

* What went wrong:
A problem occurred evaluating project ':graphviewdemos'.
> Ambiguous method overloading for method java.io.File#<init>.
  Cannot resolve which method to invoke for [null, class java.lang.String] due to overlapping prototypes between:
    [class java.lang.String, class java.lang.String]
    [class java.io.File, class java.lang.String]

* 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: 4.235 secs

ronsmits avatar Aug 02 '14 17:08 ronsmits

seems you need to install Android SDK/Studio, per https://github.com/retospect/sampleStructure#user-content-known-errors-and-solutions

artfavo avatar Aug 19 '14 12:08 artfavo

Android SDK is installed and available with $ANDROID_HOME :)

ronsmits avatar Aug 20 '14 07:08 ronsmits