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

cannot find symbol setColor on Android when building #59

Open
dseravalli opened this issue Aug 25, 2015 · 2 comments
Open

cannot find symbol setColor on Android when building #59

dseravalli opened this issue Aug 25, 2015 · 2 comments

Comments

@dseravalli
Copy link

phonegap build android throws this error If I add this plugin.

:compileDebugJava
PROJECT_PATH/src/com/plugin/gcm/CordovaGCMBroadcastReceiver.java:116: error: cannot find symbol

            .setColor(getColor(extras))

            ^

  symbol:   method setColor(int)

  location: class Builder

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

1 error


FAILED



FAILURE:
Build failed with an exception.



* What went wrong:

Execution failed for task ':compileDebugJava'.

> Compilation failed; see the compiler error output for details.



* Try:

Run with
--stacktrace
 option to get the stack trace. Run with
--info
 or
--debug
 option to get more log output.



BUILD FAILED
@poornerd
Copy link

I got the same error this morning after re-adding the android platform to my project. Did you find a solution yet?

@Sentence
Copy link

+1 here, I googled 8-10 hours, but cannot find a solution yet.

Trying this solutin now: https://github.com/Telerik-Verified-Plugins/PushNotification/issues/34#issuecomment-128785983

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

3 participants