Gradle Build Error on native script

(Jose Gonzalez) #1

Hello, hope someone could help me.

I started the nativeScript tutorial for android, but on the build, i have this error:

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘C:\Desarrollo\nativescript-app\HelloWorld\platforms\android\build-tools\android-static-binding-generator\build.gradle’ line: 63

  • What went wrong:
    Execution failed for task ‘:asbg:generateInterfaceNamesList’.

Could not get unknown property ‘jarFiles’ for project ‘:asbg’ of type org.gradle.api.Project.

(James Justinic) #2

You might find better help on this at You’re not really having a problem with Gradle, but the NativeScript project’s custom code that uses Gradle. The jarFiles property is something being used and added by NativeScript, so even if you provided enough context for us to know what you actually have or exactly what tutorial you’re using, it’s unlikely there’s anything Gradle related for you to change vs. how you’ve configured or are using the NativeScript project.