免费视频淫片aa毛片_日韩高清在线亚洲专区vr_日韩大片免费观看视频播放_亚洲欧美国产精品完整版

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
android 編譯錯誤
經(jīng)常遇到類似如下的錯誤:

Attempt to include a core VM class in something other than a core library.
It is likely that you have attempted to include the core library from a desktop
virtual machine into an application, which will most assuredly not work. If
you really intend to build a core library -- which is only appropriate as
part of creating a full virtual machine binary, as opposed to compiling an
application -- then use the "--core-library" option to suppress this error
message. If you go ahead and use "--core-library" but are in fact building
an application, then please be aware that your build will still fail at some
point; you will simply be denied the pleasure of reading this helpful error
message.
[2010-09-16 19:50:36 - WebViewDemo] 1 error; aborting
[2010-09-16 19:50:36 - WebViewDemo] Conversion to Dalvik format failed with error 1

出錯原因是工程目錄下的.classpath文件內(nèi)容不正確。
簡單的處理辦法就是:選擇一個正常編譯的android工程,將該工程下的.classpath文件復制到出錯的工程目錄下,然后清除錯誤:project---client 指定錯誤的工程,重新編譯即可成功。
也可以在出錯工程目錄下直接創(chuàng)建一個正確的.classpath文件,內(nèi)容如下:
<?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"/>
</classpath>

本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
使用eclipse配合真機來調(diào)試android源碼
Android 打包so動態(tài)庫文件到APK
Android 編譯系統(tǒng)參考手冊
Android.mk文件和Application.mk文件詳解
Android程序編譯原理之淺析(NDK編譯)
Android .classpath文件的作用
更多類似文章 >>
生活服務(wù)
分享 收藏 導長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服