Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16522

Run on Android Device does not work on OS X - 4.2.x

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.2.0.Alpha2
    • 4.1.1.Beta1
    • aerogear-hybrid
    • None
    • Hide

      1. Install android tools and android sdk
      2. Create a mobile app (New -> Mobile app)
      3. Connect the android device and make sure development mode is enabled (see http://developer.android.com/tools/device.html for info - no settings required on Mac, should just work)
      4. run adb devices - the device will be shown
      5. wait some time and repeat 4. - the device will still be there
      6. repeat 5. some more - still ok
      7. In JBDS, on the app, right click and Run on Android Device - you will get an error: No developer enabled device...
      8. Run adb devices again - the device is not listed anymore

      Show
      1. Install android tools and android sdk 2. Create a mobile app (New -> Mobile app) 3. Connect the android device and make sure development mode is enabled (see http://developer.android.com/tools/device.html for info - no settings required on Mac, should just work) 4. run adb devices - the device will be shown 5. wait some time and repeat 4. - the device will still be there 6. repeat 5. some more - still ok 7. In JBDS, on the app, right click and Run on Android Device - you will get an error: No developer enabled device... 8. Run adb devices again - the device is not listed anymore

      Following the instructions in JBIDE-15904 I am trying to run an app on an Android Device.
      This fails for me - I get: No developer enabled android device is attached to this computer please attach your device and try again. (Punctuation is missing, btw.)

      When I try to run adb devices, I can see the device is not there. Development mode is enabled on the device and it works for Vlado on Linux.

      I found out that using Run on Android Device somehow breaks the connection with the device - before I run that, "adb devices" shows the device just fine. After I run that, the device is no longer displayed.

      We even tried to deploy the app using adb install and it worked (while the device was still connected)

            gercan@redhat.com Gorkem Ercan
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: