Error 1:
[2014-05-03 11:51:43 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
[2014-05-03 11:51:43 - FaceData] Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
解决方案:
在Project目录下找到.classpath文件:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <!--删除-->
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/><!--删除-->
<classpathentry kind="output" path="bin/classes"/>
</classpath>
删除其中的两行,变为:
<span style="color:#000000;"><?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath></span>
-----------------------------------------------------------------------------------------------Error 2:
[2014-04-16 09:03:51 - Android] Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
[2014-04-16 09:03:51 - Android] Please check logcat output for more details.
[2014-04-16 09:03:52 - Android] Launch canceled!
解决办法:AndroidManifest.xml文件里的错误,这时要去查查是不是Activity的android:name写错了或则没有写。
在虚拟机上运行Google Map项目,报错:
[2014-06-10 21:21:31 - Map] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2014-06-10 21:21:31 - Map] Please check logcat output for more details.
[2014-06-10 21:21:31 - Map] Launch canceled!
解决办法:把虚拟机的Target改为Google API