Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61894

Getting No connected devices while running app:connectedDebugAndroidTest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Android Emulator Plugin 3.0

      Trying to run 

      gradlew connectedmyAppDebugAndroidTest
      

      Getting following error even though 
      [android] Emulator is ready for use

      * What went wrong: Execution failed for task ':app:connectedmyAppDebugAndroidTest'. > com.android.builder.testing.api.DeviceException: No connected devices!
      
      
      

      On the same configuration, if I run  

      "$ANDROID_HOME"/platform-tools/adb shell am start -S -W MY_APP_PACKAGE
      

      then it's working 

       

       

            nfalco Nikolas Falco
            gauravdroid Gaurav P
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: