after I create brand-new myApp --ng, I have a nice nativescript app project create with ng2-ish setup. nice, however, follow https://github.com/eddyverbruggen/nativescript-plugin-firebase, i have plug-in installed with no error, and a setup.json file also generated as well. went to firebase and generated 2 project tokens, one for android another for ios. added both token files to their respective folder under appresource, import firebase and init firebase in main.ts file. from here, then I hit tns build android and failed with below error:
Running incremental build
?[1m> Building 60% > :asbg:runAstParser?[22m?[35Dfinished with reading lines with js files
?[1m> Building 60% > :asbg:runAstParser?[22m?[35D?[1m> Building 60%?[22m?[0K?[14D?[1m> Building 61% > :asbg:generateBindings?[22m?[39D:asbg:generateBindings?[0K
Exception in thread “main”
?[1m> Building 61% > :asbg:generateBindings?[22m?[39D?[1A?[27Cjava.io.IOException: File already exists. This may lead to undesired behavior.
Please change the name of one of the extended classes.
?[31mFAILURE: ?[39m?[31mBuild failed with an exception.?[39m
Build file ‘C:\xxxxxxxxx\Projects\TNS\ng4-cocapp\platforms\android\build-tools\android-static-binding-generator\build.gradle’ line: 251
What went wrong:
Execution failed for task ‘:asbg:generateBindings’.
?[33m> ?[39mProcess ‘command ‘C:\Program Files\Java\jdk1.8.0_131\bin\java.exe’’ finished with non-zero exit value 1