Thursday 23 May 2013

Unable to execute dex: Java heap space

When i use the third party libraries i got this error in a dialog box, Unable to execute dex: Java heap space .

But i got the solution from stack overflow ,the process is
1. Right click on the project and move to properties ,select the Build Path.
2.Choose the Library then click Next
3.Select the Add Library then you get new window,select the User Library .Again you get new window and click User Libraries.
4.Click on the New button and enter the any name as library then click ok.
5.Select the newly added library and Click "Add Jar"
6.Click ok on the User Libraries dialog,and make sure that the you should check the Check Box in the Add Library dialog. 


1 comment:

  1. Hi Srikanth, I tried your method, yet the issue is not resolved. I have changed the size values in INI file also. Pls help me.

    ReplyDelete