You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Hirbod (JIRA)" <ji...@apache.org> on 2015/02/27 15:09:04 UTC

[jira] [Comment Edited] (CB-6630) Remove okhttp from source directory, make HTTP a library project dependency

    [ https://issues.apache.org/jira/browse/CB-6630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14340147#comment-14340147 ] 

Hirbod edited comment on CB-6630 at 2/27/15 2:08 PM:
-----------------------------------------------------

Hi [~agrieve],

please have a short look here:
https://issues.apache.org/jira/browse/CB-8477

I need a quick workaround for this. I know this is not a support forum, but I've tried SO,Github and reported to JIRA. I need to get rid of this proble now, not when 4.0.0 is out someday.

Did I understand right, that it is enough to remove the bundled OkHttp and only to change the contents of the file
framework/src/org/apache/cordova/CordovaResourceApi.java (just as a workaround). Will this be enough or do I have to make changes in the file-transfer-plugin also etc? Thank you very much!


was (Author: hirbod):
Hi [~agrieve],

please have a short look here:
https://issues.apache.org/jira/browse/CB-8477

I need a quick workaround for this. I know this is not a support forum, but I've tried SO and Github and reported and need to get rid of this problem.

Did I understand right, that it is enough to remove the bundled OkHttp and only to change the contents of the file
framework/src/org/apache/cordova/CordovaResourceApi.java (just as a workaround). Will this be enough or do I have to make changes in the file-transfer-plugin also etc? Thank you very much!

> Remove okhttp from source directory, make HTTP a library project dependency
> ---------------------------------------------------------------------------
>
>                 Key: CB-6630
>                 URL: https://issues.apache.org/jira/browse/CB-6630
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Joe Bowser
>            Assignee: Andrew Grieve
>            Priority: Blocker
>             Fix For: 4.0.0
>
>
> From Stack Overflow: 
> http://stackoverflow.com/questions/23446603/conversion-to-dalvik-format-failed-unable-to-execute-dex-multiple-dex-files-de
> Basically, we should be including third party libraries as libraries, and not just dumping the source in our own tree.  This leads to major problems when people use other Java libraries.  We'll probably need to modify the CLI to do this, of course.



--
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