Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

build fail on android #149

Closed
roysG opened this issue Sep 16, 2015 · 3 comments
Closed

build fail on android #149

roysG opened this issue Sep 16, 2015 · 3 comments

Comments

@roysG
Copy link

roysG commented Sep 16, 2015

info:

Your system information:

Cordova CLI: 5.3.1
Ionic Version: 1.1.0
Ionic CLI Version: 1.6.4
Ionic App Lib Version: 0.3.8
ios-deploy version: 1.7.0
ios-sim version: 5.0.1
OS: Mac OS X Yosemite
Node Version: v4.0.0
Xcode version: Xcode 6.3.2 Build version 6D2105

Error:

testApps/platforms/android/src/com/adobe/phonegap/push/GCMIntentService.java:398: cannot find symbol
symbol : method setColor(int)
location: class android.support.v4.app.NotificationCompat.Builder
mBuilder.setColor(iconColor);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/Admin/www/picktags.com/public_html/testApps/platforms/android/src/com/adobe/phonegap/push/GCMIntentService.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
100 warnings
:compileDebugJava 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

@roysG
Copy link
Author

roysG commented Sep 17, 2015

any updates?

@macdonst
Copy link
Member

@roysG your issue is a duplicate of #51 so I'm going to close it. There is info on how to work around it there. In short you have an older version of 'android-support-v13.jar' being picked up by your system. You may need to update it via the 'android' command.

Also, the 'master' branch has switched to using Gradle so this issue will go away during the next release.

@lock
Copy link

lock bot commented Jun 5, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants