Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1581

Droidium does not work with remote emulators

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • droidium_1.0.0.Alpha2
    • Extension - Droidium
    • None

      When:

      I use Android Jenkins Plugin to start the device

      Then:

      It starts the emulator using remote syntax, that is including --port port1,port2

      Expect:

      Drodium will connect to already running emulator.

      Actual problem:

      AndroidDevice and IDevice isEmulator() call is not able to parse the data retrieved from adb devices. This results into Droidium trying to start emulator with the same name, however this emulator is already started so event marking correct startup is never send and test fails.

      Output:

      export ANDROID_ADB_SERVER_PORT=52892
      [tester@fedora19 ~]$ ANDROID_SDK_HOME=`pwd`/workspace/mobile-eap-test ./tools/android-sdk/platform-tools/adb devices
      List of devices attached 
      localhost:46689	device
      

      However, emulators are expected to be in format of emulator-XYZ.

      Drodium should be able to modify the behavior to handle this correctly.

            smikloso Stefan Miklosovic (Inactive)
            kpiwko Karel Piwko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: