Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Webpack build fails after snapshot build #340

Closed
vchimev opened this issue Dec 11, 2017 · 1 comment
Closed

Webpack build fails after snapshot build #340

vchimev opened this issue Dec 11, 2017 · 1 comment
Assignees

Comments

@vchimev
Copy link
Contributor

vchimev commented Dec 11, 2017

Steps:

tns run android --bundle --env.aot --env.uglify --env.snapshot
tns run android --bundle

Expected:
./platforms/android/app/src/main/assets/app/_embedded_script_.js* to be removed

Actual:

Warning: The static binding generator will generate extend from:vendor.js implementation
Exception in thread "main" java.io.IOException: File already exists. This may lead to undesired behavior.
Please change the name of one of the extended classes.
File:/Users/vchimev/Work/tmp/appNG/platforms/android/app/src/main/java/com/tns/FragmentClass.java Class: com.tns.FragmentClass
        at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:68)
        at org.nativescript.staticbindinggenerator.Main.main(Main.java:15)

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/vchimev/Work/tmp/appNG/platforms/android/build-tools/android-static-binding-generator/build.gradle' line: 284
@dvdbrk
Copy link

dvdbrk commented Dec 11, 2017

I'm right now in the second day of hitting the same issue :-(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants