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

Build error while compiling java with javac #19

Closed
t1amat9409 opened this issue Mar 8, 2016 · 2 comments
Closed

Build error while compiling java with javac #19

t1amat9409 opened this issue Mar 8, 2016 · 2 comments

Comments

@t1amat9409
Copy link

:compileNativescriptfloatingactionbuttonDebugJavaWithJavac
/Users/louis/Documents/Projects/float/platforms/android/build/generated/source/r/nativescriptfloatingactionbutton/debug/org/nativescript/float/R.java:8: error: <identifier> expected
package org.nativescript.float;
                         ^
/Users/louis/Documents/Projects/float/platforms/android/build/generated/source/buildConfig/nativescriptfloatingactionbutton/debug/org/nativescript/float/BuildConfig.java:4: error: <identifier> expected
package org.nativescript.float;
                         ^
2 errors
:compileNativescriptfloatingactionbuttonDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileNativescriptfloatingactionbuttonDebugJavaWithJavac'.

@bradmartin
Copy link
Collaborator

@t1amat9409 - I've not seen this before. Could you please try the following steps:

  • tns platform remove android
  • tns platform add android
  • uninstall the app from the device/emulator
  • tns run android

That should clear up any issues with building. If that doesn't work, you might want to start a fresh {N} app and add this plugin and see if it fails for you again. I don't think it will, this error is most likely not a direct result of this plugin. I've seen similar errors and it's not the plugin causing the issue but more of a build/config issue when adding numerous plugins/libraries. Let me know if that works for you.

@t1amat9409
Copy link
Author

@bradmartin

I did as mentioned on your reply.
It did work, thanks a lot...

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

2 participants