Exception in thread “main” java.io.FileNotFoundException: C:\nativescript-projects\Hub\platforms\android\build-tools\android-static-binding-generator\bindings.txt (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
FAILURE: Build failed with an exception.
Build file ‘C:\nativescript-projects\Hub\platforms\android\build-tools\android-static-binding-generator\build.gradle’ line: 251
What went wrong:
Execution failed for task ‘:asbg:generateBindings’.
Process ‘command ‘C:\Program Files\Java\jdk1.8.0_131\bin\java.exe’’ finished with non-zero exit value 1
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 26.647 secs
Multiple errors were thrown:
Command gradlew.bat failed with exit code 1
Can someone please shed some light as to what is wrong ? I had a great run on iOS, XCode works magic, the app is published on App Store now and works fine, but moving to Android - HURDLES. ALL. THE. WAY.
Honestly, setting up the environment that actually builds successfully seems next to impossible right now.
The worst part is I actually have all the code ready, it’s right there in the App folder, just to get my PC to build it seems to be the worst task I had in years.
I have set up everything as the article on Nativescript.org suggests.
Thanks for any directions.