You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Frederico Costa Galvão (JIRA)" <ji...@apache.org> on 2014/10/29 17:25:35 UTC

[jira] [Created] (CB-7898) Cordova build on android doesn't build lib projects properly

Frederico Costa Galvão created CB-7898:
------------------------------------------

             Summary: Cordova build on android doesn't build lib projects properly
                 Key: CB-7898
                 URL: https://issues.apache.org/jira/browse/CB-7898
             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


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 *project.properties*, 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org