0

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

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

我能知道是什么问题吗?或者我做错了什么?

4

0 回答 0