android 编译错误
来源:百度文库 编辑:神马文学网 时间:2024/05/04 20:25:31
经常遇到类似如下的错误:
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文件内容不正确。
简单的处理办法就是:选择一个正常编译的android工程,将该工程下的.classpath文件复制到出错的工程目录下,然后清除错误:project---client 指定错误的工程,重新编译即可成功。
也可以在出错工程目录下直接创建一个正确的.classpath文件,内容如下:
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文件内容不正确。
简单的处理办法就是:选择一个正常编译的android工程,将该工程下的.classpath文件复制到出错的工程目录下,然后清除错误:project---client 指定错误的工程,重新编译即可成功。
也可以在出错工程目录下直接创建一个正确的.classpath文件,内容如下:
android 编译错误
Android源码编译说明
Android源码编译_
android源码下载以及编译
C语言编译错误提示
Android编译环境配置 - vrix的专栏 - CSDN博客
加快Android单模块编译 - Linux mobile development - CSDN博客
【转】Android 开发手记二 C可执行程序编译实例
Ubuntu下编译Android源码全过程(转)
OpenCV学习笔记(3)用VS2008编译OpenCV2.0源代码(编译错误已解决)
解说VC编译中出现的link2001错误
编译C 出现错误:Cannot open precompiled header file
QtEmbedded在MIPS平台编译的一个常见错误
Android模拟器及编译环境安装新手入门-1 - 51WinCE-CSDN分站 - CS...
android编译系统阅读与分析(1)-envsetup.sh(editing.) - twxst博客
android - Build Android Platform
分布式编译
open_source编译
条件编译
libtiff编译
编译原理
外电编译
*30.1* 编译
Android G1