j1s1e1 / GlslAndroidExamples

Tests of GLSL functions with Android Studio
MIT License
2 stars 0 forks source link

Build script fails #1

Open elect86 opened 8 years ago

elect86 commented 8 years ago

Hi,

cool project, I am trying to completing tutorial 12 here

I had trouble with the WeightedLinearInterpolator and your project came out in google :)

I tried to clone it, but I get this:


Executing: gradle build
Arguments: [-c, /home/elect/NetBeansProjects/GlslAndroidExamples/settings.gradle]

FAILURE: Build failed with an exception.

* Where:
Build file '/home/elect/NetBeansProjects/GlslAndroidExamples/tutorials/build.gradle' line: 1

* What went wrong:
A problem occurred evaluating project ':tutorials'.
> Failed to apply plugin [id 'android']
   > Gradle version 2.2 is required. Current version is 2.10. If using the gradle wrapper, try editing the distributionUrl in /home/elect/gradle/wrapper/gradle-wrapper.properties to gradle-2.2-all.zip

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

Build failure (see the Notifications window for stacktrace): gradle build
j1s1e1 commented 8 years ago

Giuseppe --

Gradle can be a pain. I have had a lot of trouble with every update. I'm sure it is my code, but it seems like it should be able to work anyway. I'm currently behind versions because of this. I'll try to get it updated soon. In the mean time, your options are:

1) Try to match the gradle verion being used. It appears I'm using 2.14.1, but I have references to other versions from old tools. 2) Start a project, and add the tutorials as a separate activity. If you do this, you can add one tutorial at a time. To do this, you will need to comment out other options in: a) Tutorials.java b) Tutorials.xml

There is a case statement in the first file, and a list of strings in the second. I have been using a java case statement that requires numbers, so you should always comment out the same lines in both files. Once you add a tutorial, you will have errors indicating what other files need to be included. Some of the early files have no dependencies, but some of the others get rather complex.

Good luck,

Jamie

On Sun, Sep 4, 2016 at 10:19 AM, Giuseppe Barbieri <notifications@github.com

wrote:

Hi,

cool project, I am trying to completing tutorial 12 here https://github.com/elect86/modern-jogl-examples

I had trouble with the WeightedLinearInterpolator and your project came out in google :)

I tried to clone it, but I get this:

Executing: gradle build Arguments: [-c, /home/elect/NetBeansProjects/GlslAndroidExamples/settings.gradle]

FAILURE: Build failed with an exception.

  • Where: Build file '/home/elect/NetBeansProjects/GlslAndroidExamples/tutorials/build.gradle' line: 1
  • What went wrong: A problem occurred evaluating project ':tutorials'.

    Failed to apply plugin [id 'android'] Gradle version 2.2 is required. Current version is 2.10. If using the gradle wrapper, try editing the distributionUrl in /home/elect/gradle/wrapper/gradle-wrapper.properties to gradle-2.2-all.zip

  • 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: 0.273 secs

Build failure (see the Notifications window for stacktrace): gradle build

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/j1s1e1/GlslAndroidExamples/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnPHVYN6a8b8ySnF4twn3rJ3Zq99zV4ks5qmv2hgaJpZM4J0lR0 .