Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11081

cordova run android --list give ERROR: Error: adb:

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.1.1
    • None
    • cordova-android
    • Ubuntu 15.10, Java(TM) SE Runtime Environment (build 1.8.0_45-b14), android-sdk_r24.4.1-linux, cordova 6.1.1

    Description

      When running command: cordova run android --list
      I get the following error:

      Available android devices:
      ERROR: Error: adb: Command failed with exit code ENOENT
      An unexpected error has occured while running list-devices with code 2: Error: /data/Projects/bitbucket/quinn.co.za/personal-web-cordova/platforms/android/cordova/lib/list-devices: Command failed with exit code 2
      Available android virtual devices:
      ERROR: Error: android: Command failed with exit code ENOENT
      An unexpected error has occured while running list-emulator-images with code 2: Error: /data/Projects/bitbucket/quinn.co.za/personal-web-cordova/platforms/android/cordova/lib/list-emulator-images: Command failed with exit code 2

      Attachments

        Activity

          People

            Unassigned Unassigned
            javapenguin Gary Quinn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: