Hello Tim,
I have a repo with that code look what I have to change to it run:

wiliam@envy:~/.../bluetooth$ git remote -v
origin [email protected]:wiliamsouza/bluetooth.git (fetch)
origin [email protected]:wiliamsouza/bluetooth.git (push)
wiliam@envy:~/.../bluetooth$ git diff
diff --git a/gradle.properties b/gradle.properties
index 424894b..f5a88db 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,3 +1,3 @@
-androidSdkHome=/home/wiliam/bin/android-sdk-linux
+androidSdkHome=/home/wiliam/.local/bin/android-sdk-linux
 androidSdkTarget=android-19
-androidSdkBuildToolsDir=build-tools/19.0.1/
+androidSdkBuildToolsDir=build-tools/19.1.0/
wiliam@envy:~/.../bluetooth$ gradle build
Building dex...
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:assemble UP-TO-DATE
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:check UP-TO-DATE
:build UP-TO-DATE

BUILD SUCCESSFUL

Total time: 4.583 secs

wiliam@envy:~/.../bluetooth$


On Fri, Aug 22, 2014 at 6:46 PM, Tim Boland <[email protected]> wrote:

> 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.
>



-- 
Wiliam Alves de Souza <Waa>

-- 
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