phonegap / phonegap-plugin-push

Register and receive push notifications
MIT License
1.94k stars 1.91k forks source link

Build error #205

Closed SteveKelseyMocapay closed 8 years ago

SteveKelseyMocapay commented 8 years ago

I am getting this error when trying to build android:

:compileDebugJava /Users/skelsey/Desktop/development/workspace/MobileApp/mtn/platforms/android/src/com/adobe/phonegap/push/GCMIntentService.java:483: error: cannot find symbol mBuilder.setColor(iconColor); ^ symbol: method setColor(int) location: variable mBuilder of type Builder

fredgalvao commented 8 years ago

This is a duplicate of https://github.com/phonegap/phonegap-plugin-push/issues/51, please check the solutions there and let us know if you've managed to solve it.

macdonst commented 8 years ago

@SteveKelseyMocapay check out the section on compiling. https://github.com/phonegap/phonegap-plugin-push#compiling You may have an older version of the support library.

SteveKelseyMocapay commented 8 years ago

Managed to solve it. Had to delete the android-support-v4.jar that was in my platform/android/lib folder.

Thanks for the help. Closing this issue.

lock[bot] commented 6 years ago

This thread has been automatically locked.