ant 打包 uiautomator 报错

bogon:AndroidControllerTest tangyiping$ android create uitest-project -n auto -t 11 -p /Users/tangyiping/AndroidControllerTest
Updated file /Users/tangyiping/AndroidControllerTest/build.xml
bogon:AndroidControllerTest tangyiping$ ant build
Buildfile: /Users/tangyiping/AndroidControllerTest/build.xml

-check-env:
[checkenv] Android SDK Tools Revision 25.1.2
[checkenv] Installed at /Users/tangyiping/Library/Android/sdk

-build-setup:
[getbuildtools] Using latest Build Tools: 24.0.0
[echo] Resolving Build Target for auto...
[getuitarget] Project Target: Android 6.0
[getuitarget] API level: 23
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: /Users/tangyiping/AndroidControllerTest/bin
[mkdir] Created dir: /Users/tangyiping/AndroidControllerTest/bin/classes

-pre-compile:

compile:

-post-compile:

-dex:
[dex] input: /Users/tangyiping/AndroidControllerTest/bin/classes
[dex] Converting compiled files and external libraries into /Users/tangyiping/AndroidControllerTest/bin/classes.dex...
[dx] no classfiles specified

BUILD FAILED
/Users/tangyiping/Library/Android/sdk/tools/ant/uibuild.xml:198: null returned: 1

log信息。。

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!