I tried your example...but it seems its failing when it hits the dex task: 
 Do you know what the problem could be?

Starting process 'command '/Users/tboland/sdk/build-tools/19.1.0/dx''. 
Working directory: /Users/tboland/AndroidStudioProjects/TestProject/app2 
Command: /Users/tboland/sdk/build-tools/19.1.0/dx --dex --no-strict 
--output=/Users/tboland/AndroidStudioProjects/TestProject/app2/build/dex/app2.jar
 
/Users/tboland/AndroidStudioProjects/TestProject/app2/build/libs/app2-0.1.jar

Successfully started process 'command 
'/Users/tboland/sdk/build-tools/19.1.0/dx''


trouble writing output: 
/Users/tboland/AndroidStudioProjects/TestProject/app2/build/dex/app2.jar 
(No such file or directory)

:app2:jar FAILED

:app2:jar (Thread[Daemon Thread 3,5,main]) completed. Took 0.294 secs.


FAILURE: Build failed with an exception.


* Where:

Build file 
'/Users/tboland/AndroidStudioProjects/TestProject/app2/build.gradle' line: 
28


* What went wrong:

Execution failed for task ':app2:dex'.

> Process 'command '/Users/tboland/sdk/build-tools/19.1.0/dx'' finished 
with non-zero exit value 3


On Wednesday, October 30, 2013 11:21:49 AM UTC-7, Wiliam Souza wrote:
>
> Until we have uiautomator support in gradle android plugin this[1] is the 
> way I'm using gradle to build my ui tests.
>
> [1] 
> http://wiliamsouza.github.io/#/2013/10/30/android-uiautomator-gradle-build-system
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to