Android模拟器BUILD FAILED

时间:2014-06-05 06:37:08

标签: android jenkins jenkins-plugins jenkins-cli android-emulator-plugin

嗨,我在构建时遇到了这两个问题..

1)仿真器似乎没有启动;放弃

2)构建失败(请看下面的错误)

   [dx] : can't find dx.jar
       [dx] /Users/Shared/Jenkins/Home/tools/android-sdk/build-tools/19.1.0/dx: line 31: dirname: command not found
       [dx] /Users/Shared/Jenkins/Home/tools/android-sdk/build-tools/19.1.0/dx: line 34: basename: command not found
       [dx] /Users/Shared/Jenkins/Home/tools/android-sdk/build-tools/19.1.0/dx: line 48: dirname: command not found
       [dx] /Users/Shared/Jenkins/Home/tools/android-sdk/build-tools/19.1.0/dx: line 52: basename: command not found

BUILD FAILED
/Users/Shared/Jenkins/Home/tools/android-sdk/tools/ant/build.xml:892: The following error occurred while executing this line:
/Users/Shared/Jenkins/Home/tools/android-sdk/tools/ant/build.xml:894: The following error occurred while executing this line:
/Users/Shared/Jenkins/Home/tools/android-sdk/tools/ant/build.xml:906: The following error occurred while executing this line:
/Users/Shared/Jenkins/Home/tools/android-sdk/tools/ant/build.xml:284: null returned: 1

Total time: 5 seconds
Build step 'Invoke Ant' marked build as failure
Finished: FAILURE
我能知道这是什么问题吗?或者我做错了什么?

0 个答案:

没有答案