I am trying to create android UI test. I have followed the example in this link: http://developer.android.com/tools/testing/testing_ui.html#running.
Note that in phase "Building and Deploying Your uiautomator Tests", there is a mistake, the first command must be /tools/android create uitest-project -n -t 1 -p . Anyway, this is not my problem.
My probelm is in step "ant build", I am getting this error:
-post-compile:
-dex:
[dex] input: c:\Users\tabony\workspace\bin\classes
[dex] Converting compiled files and external libraries into c:\Users\tabony\workspace\bin\classes.dex...
[dx] no classfiles specified
BUILD FAILED
c:\Program Files (x86)\Android\android-sdk\tools\ant\ **uibuild.xml:197: null returned: 1**
Total time: 1 second
Your help is much appreciated.