51Testing软件测试论坛

标题: Hudson --Andorid自动编译打包不可用~求助~ [打印本页]

作者: hummel    时间: 2011-8-4 17:04
标题: Hudson --Andorid自动编译打包不可用~求助~
正在研究Hudson利用自动构建andriod项目,编译打包出来的包,安装后启动报错。。。

通过Elicpse编译,打包就没问题。Hudson最后也是提示成功。现在处于完全无解状态。。。求高人指点。

Hudson编译打包过程中,有几处报错(都查过,貌似不影响最后功能),贴在下面,求解啊~~

----------------------------------------------------
resource-src:
     [echo] Generating R.java / Manifest.java from the resources
     [echo] /estore/SDK/android-sdk-linux_x86/platforms/android-2.1_r02-linux/tools/aapt
     [exec]     (skipping index file 'res/drawable-hdpi/Thumbs.db')
     [exec] libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
     [exec] aapt: warning: string 'rssview_link' has no default translation in res; found: zh_CN
----------------------------------------------------
compile:
    [javac] /home/estoretest/.hudson/jobs/test5/workspace/build.xml:148: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 147 source files to /home/estoretest/.hudson/jobs/test5/workspace/bin
    [javac] /home/estoretest/.hudson/jobs/test5/workspace/src/com/eshore/ezone/ui/AppSubjectList.java:559: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] cast to java.lang.Integer for a varargs call
    [javac] cast to java.lang.Integer[] for a non-varargs call and to suppress this warning
    [javac]                                         new LoadAppListTask().execute(null);
----------------------------------------------------
package-res-and-assets:
     [echo] Packaging resources and assets
     [exec]     (skipping index file 'res/drawable-hdpi/Thumbs.db')
     [exec] libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
     [exec] aapt: warning: string 'rssview_link' has no default translation in res; found: zh_CN
----------------------------------------------------
作者: msnshow    时间: 2011-8-4 21:40
缺少支持的包吧
作者: hummel    时间: 2011-8-5 11:07
缺少支持的包吧
msnshow 发表于 2011-8-4 21:40



怎么看出缺少包呢?如果缺少包的话,应该编译就不通过吧。




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2