Conversion to Dalvik format failed: Unable to execute dex: null


Android開発神器をお勧めします(UI特効やandroidコードライブラリの例が入っています)
eclipseでandroid projectをコンパイルし、タイトルのエラーなどをプロンプトします.その原因はeclipse heap overflow解決方法:eclipseを修正する可能性がある.iniのXmsとXmx

-startup   
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar   
--launcher.library   
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810   
-product   
org.eclipse.epp.package.jee.product   
--launcher.defaultAction   
openFile   
--launcher.XXMaxPermSize   
256M   
-showsplash   
org.eclipse.platform   
--launcher.XXMaxPermSize   
256m   
--launcher.defaultAction   
openFile   
-vmargs   
-Dosgi.requiredJavaVersion=1.5   
<SPAN style="COLOR: #ff0000">-Xms256m   
-Xmx768m</SPAN>  

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms128m
-Xmx512m


注意値は大きく変更できません.そうしないと、launch eclipseの時に「Failed to create Java Virtual Machine」And here are some tips from websites abroad:As Android developer,I have met a strange problem when I want use a third party jarが表示されます. it remained me that:Dex Loader] Unable to execute dex: nullConversion to Dalvik format failed: Unable to execute dex: nullout of memory error…An internal error occurred during: “Build Project”.Java heap spaceThis is the DEX Error,I find the solutions by Google, one way is to modify the eclipse.ini, you can increase the memory allocated in eclipse.ini to this: -Xms128m -Xmx512m or something higher, but this didn’t work for me. After modify the eclipse.ini, I cannot start the eclipse. By StackOverflow, I find a solution:eclipse.ini file must have -vm on first line and path on second line. don’t try to put everything into one line!-vmC:\Program Files\Java\jdk1.6.0_07\bin\javaw.exeAfter add the -vm and the path in my eclipse.ini, I can start my Eclipse and the problem has been resolved.Another way to solve the ” Conversion to Dalvik format failed: Unable to execute dex: null” problem is using the user library, the concrete steps are as follows :Right-click the project in Eclipse and select “Build Path -> Add Libraries…”. Select User Library from the list and click Next. Click the “User Libraries…” button. Click “New…” in the User Libraries dialog. Give the user library a name and select the System library checkbox and click OK. Highlight the newly added user library in the list and click the “Add JARs…” button and add the desired jar files. Click OK on the User Libraries dialog. Make sure the new user library is checked in the Add Library dialog and …