0

I have my cordova (4.0.0) project perfectly running on xCode and iOS but I can't make it work with android and Eclipse (luna 4.4.1). What I did is the usual sequence of cordova CLI commands:

cordova platform add android
cordova build android

I then open Eclipse, import the project and CordovaLib from the /platforms/android folder, zipped all kind of "source attachment" from libraries and then run the project (as suggested [here][1]) but I can't run the project cause it hangs soon: The bottom bar show "Launching 99%", nothing logged on console and a final "Unable to execute dex: GC overhead limit exceeded - GC overhead limit exceeded"

In the past with Cordova 3.3 and some previous version of Eclipse everything was working fine but apparently updates have messed up the whole thing...any idea or how to run a simple Cordova project with Eclipse?

asked Jan 21, 2015 at 11:21

1 Answer 1

1

Try to change the VM values in Eclipse.ini. Set the values to 512 and 1024 as below: See eclipse.ini for more details

-vmargs
//... other VM argument 
-Xms512m
-Xmx1024m
answered Jan 21, 2015 at 11:43
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.