This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
when you bundle with snapshot and then bundle without it, you will see exception in release #463
Closed
Description
Tell us about the problem
This happens when you build in release. Build android with bundle and snapshot in release and then build it only with bundle. You will see exception.
File:/Users/mivanova/MyDocuments/app2/platforms/android/app/src/main/java/com/tns/FragmentClass.java Class: com.tns.FragmentClass
at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:65)
at org.nativescript.staticbindinggenerator.Main.main(Main.java:48)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:runSbg'.
> Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 8s
Command ./gradlew failed with exit code 1
Local environment
Platform: Mac
NativeScript CLI version: next
- tns build android --bundle --env.snapshot --release
- tns build android --bundle --release