Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Android connectedAndroidTest error with bitbucket-pipelines.yml

Bruno-Furtado October 23, 2016

I don't know how to execute gradlew connectedAndroidTest with bitbucket-pipelines.yml.

 

This is my bitbucket-pipelines.yml file:

image: uber/android-build-environment:latest
pipelines:
  default:
    - step:
        script:
          - echo y | android update sdk --filter "build-tools-24.0.3,android-25,extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository" --no-ui -a
          - ./gradlew assembleDebug
          - ./gradlew connectedAndroidTest

 

When I run the command, the following error is displayed:
* What went wrong:
Execution failed for task ':app:connectedDebugAndroidTest'.
> com.android.builder.testing.api.DeviceException: Could not create ADB Bridge. ADB location: /usr/local/android-sdk/platform-tools/adb

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Tom Bradshaw
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 14, 2016

Hi Bruno,

Unfortunately without more information we can't really address this problem. That being the case could you please raise a support ticket at https://support.atlassian.com/ so we can continue to investigate?

TAGS
AUG Leaders

Atlassian Community Events