================================== 1 ======================
doantbuild:
[taskdef] Could not load definitions from resource anttasks.properties. It cou
ld not be found.
-set-mode-check:
-set-release-mode:
BUILD FAILED
F:\source\mmd\phoneclient\_ide_android\antbuild\commonbuild.xml:81: The followin
g error occurred while executing this line:
F:\source\mmd\phoneclient\_ide_android\antbuild\commonbuild.xml:195: The followi
ng error occurred while executing this line:
F:\source\mmd\phoneclient\_ide_android\antbuild\commonbuild.xml:447: The followi
ng error occurred while executing this line:
F:\source\mmd\phoneclient\_ide_android\antbuild\build.xml:1102: Problem: failed
to create task or type xpath
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
更改android sdk目录 /tools/lib
复制 ant-tasks.jar文件
改名 anttasks.jar
================================== 2 ======================
[gettarget] Project Target: Android 4.2.2
[gettarget] API level: 17
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: F:\source\mmd\phoneclient\_ide_android\qianyouuc\bin
[mkdir] Created dir: F:\source\mmd\phoneclient\_ide_android\qianyouuc\bin\re
s
[mkdir] Created dir: F:\source\mmd\phoneclient\_ide_android\qianyouuc\bin\cl
asses
[mkdir] Created dir: F:\source\mmd\phoneclient\_ide_android\qianyouuc\bin\de
xedLibs
[echo] ----------
[echo] Resolving Dependencies for uc...
BUILD FAILED
F:\source\mmd\phoneclient\_ide_android\antbuild\commonbuild.xml:82: The followin
g error occurred while executing this line:
F:\source\mmd\phoneclient\_ide_android\antbuild\commonbuild.xml:196: The followi
ng error occurred while executing this line:
F:\source\mmd\phoneclient\_ide_android\antbuild\commonbuild.xml:448: The followi
ng error occurred while executing this line:
F:\source\mmd\phoneclient\_ide_android\antbuild\build.xml:571: Missing attribute
buildToolsFolder
游戏原来打包时使用的 ADT21
我使用的是 ADT23
替换成 21 的build.xml文件就好了
================================== 3 ======================
[aapt] invalid resource directory name: F:\source\mmd\phoneclient\_ide_andr
oid\prjcommon\basesdk\bin\res crunch
直接删除 basesdk\bin\ 下的文件
================================== 4 ======================
[echo] Resolving Dependencies for zuixiancenter...
[dependency] Library dependencies:
[dependency]
[dependency] ------------------
[dependency] Ordered libraries:
[dependency]
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
[echo] ----------
[echo] Building Libraries with 'release'...
BUILD FAILED
F:\liwe_game_09prj\svn\zx_phoneclient\zuimeiren\_ide_android\antbuild\commonbuil
d.xml:81: The following error occurred while executing this line:
F:\liwe_game_09prj\svn\zx_phoneclient\zuimeiren\_ide_android\antbuild\commonbuil
d.xml:195: The following error occurred while executing this line:
F:\liwe_game_09prj\svn\zx_phoneclient\zuimeiren\_ide_android\antbuild\commonbuil
d.xml:447: The following error occurred while executing this line:
F:\liwe_game_09prj\svn\zx_phoneclient\zuimeiren\_ide_android\antbuild\build.xml:
595: Invalid file: F:\liwe_game_09prj\svn\zx_phoneclient\zuimeiren\_ide_android\
3rdsdk\shenhai\ShSdkResProject\build.xml
A: 第三方工程的BUILD文件缺少 <property file="../../../antbuild/ant.properties" /> 此路径要检查正确
ant打包游戏时报错
猜你喜欢
转载自201206135726.iteye.com/blog/2204601
今日推荐
周排行