cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Resolved] (CB-7898) Cordova build on android doesn't build lib projects properly
Date Wed, 29 Oct 2014 18:10:34 GMT


Andrew Grieve resolved CB-7898.
    Resolution: Duplicate

> Cordova build on android doesn't build lib projects properly
> ------------------------------------------------------------
>                 Key: CB-7898
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CLI
>    Affects Versions: 4.0.0
>         Environment: Xubuntu 13.10 x86_64, node=v0.10.25, npm=2.1.5, cordova=4.0.0, cordova-android=3.6.4
>            Reporter: Frederico Costa Galv√£o
>              Labels: android, ant, build, cli
> PS: Found this issue while working with the FacebookConnect plugin from Wizcorp.
> I have my project set up to work with both CLI and with IntellijIDEA, but CLI hasn't
been able to build the project properly since I upgraded it to 4.0.0.
> The Facebook plugin adds a library project into my main platforms/android project through
**, and with that IntellijIDEA already knows how to handle stuff on it's
own (and it works). However, although the CLI runs through the ant targets that compile the
library projects, it seems the output is not copied or handled properly. In runtime, I see
errors of the Facebook activity/intent trying to reach for a R.<resourceId> and not
finding it, and thus force-stoping the application.
> The plugin's documentation recently added to the instalation steps a step to run *ant
release* into the library project, so that it compiles and releases itself into the parent
project once, and considering it doesn't change anymore, it works "forever". Only that it
doesn't: if I have to [update the plugin, update cordova, chechout the project, switch branches]
I'll have to re-run through that step.
> I may be wrong on this one and this could be a ant/android issue, but maybe it's at cordova's
reach to solve this.
> PS2: I haven't even tried migrating from ant to gradle now that cordova supports it,
only because I didn't have time to look for instructions or documentation. If doing such migration
would solve the issue, please point me towards any of those.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message