Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with latest Nativescript Angular Project #6

Open
vijaykumarmahato opened this issue Mar 27, 2019 · 0 comments
Open

Issue with latest Nativescript Angular Project #6

vijaykumarmahato opened this issue Mar 27, 2019 · 0 comments

Comments

@vijaykumarmahato
Copy link

Created a new Nativescript Angular project and trying to integrate Deeplink concept.
Did followed the Code sample and created 2 files. But running "tns build android" I am getting the below error. Can you please help me out with the issue.

Error:
(node:67213) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use
the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Warning: there already is an extend called com.tns.NativeScriptActivity.
Warning: The static binding generator will generate extend from:app/activity.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/jcrdeveloper/Vijay/POC/NativeScript/DeepLink/platforms/android/app/src/main/java/com/tns/NativeScriptAc
tivity.java Class: com.tns.NativeScriptActivity
at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:81)
at org.nativescript.staticbindinggenerator.Main.main(Main.java:47)

FAILURE: Build failed with an exception.

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

No branches or pull requests

1 participant