Whenever i try for gmail login integration in app every time i run it shows same error "Unable to execute dex: Java heap space" and "Conversion to Dalvik format failed: Unable to execute dex: Java heap space" and asks "Do you want to exit workbench" Please provide me some solution.Thanks in advance
Asked
Active
Viewed 107 times
-8
-
1Post your relevant `Copy/Pasted` code and logcat – M D May 20 '15 at 06:40
-
have you tried increasing the heap for the ide. using eclipse or android studio, – Raghunandan May 20 '15 at 06:41
-
Thank you Raghunandan for reply. But i have tried it but no any change.I am using eclipse – rajlaxmi_jagdale May 20 '15 at 06:43
-
Why my question is voted down? I am getting problem and asking for same. – rajlaxmi_jagdale May 20 '15 at 06:48
-
1because your question doesn't clear out the problem you are facing and the scenario. – Saif May 20 '15 at 06:52
-
whatever i have problem i have explained it. The error i am getting i have mentioned. – rajlaxmi_jagdale May 20 '15 at 06:54
-
Check this link for your problem - http://stackoverflow.com/questions/5943712/conversion-to-dalvik-format-failed-unable-to-execute-dex-java-heap-space?lq=1 – Amrit Pal Singh May 20 '15 at 07:19
-
thanks amrit but i have refereed same link n tried but still same problem. My pc is linux 32 bit . – rajlaxmi_jagdale May 20 '15 at 07:42
1 Answers
0
The problem has nothing to do with gmail integration. The problem is with eclipse
"Unable to execute dex: Java heap space" and "Conversion to Dalvik format failed: Unable to execute dex: Java heap space"
This comes when the eclipse has memory related issues. Try restarting eclipse and/or your system. It should work.
Also you might want to make changes to your eclipse.ini file and increase the ram for eclipse so that this does not happen in the future. You can do this by following the link: Increasing heap space in Eclipse: (java.lang.OutOfMemoryError)
Community
- 1
- 1
user2520215
- 603
- 8
- 15
-
-
-
-
It worked for me when i was implementing only gmail login as different project. But, when i implemented same in another app onclick of gmail login it shows again same error. – rajlaxmi_jagdale May 21 '15 at 11:25
-