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

Run command reports successful install, but install really failed.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 3.0.0
    • None
    • OSX

    Description

      If I try to run an android app with the wrong minSDK specified, the log reports success when it shouldn't:

      phonegap -V local run android --emulator
      Failure [INSTALL_FAILED_OLDER_SDK]
      Launching application...
      Starting: Intent

      { act=android.intent.action.MAIN cmp=com.ABCD }

      Error type 3
      Error: Activity class

      {com.ABCD}

      does not exist.
      [phonegap] Platform "android" deployed to emulator.
      [phonegap] successfully installed onto emulator

      .. no it wasn't deployed or successfully installed!

      Note: fixing the android:minSdkVersion did fix it for me, so nothing was broken - just an incorrect log status on my error.

      Attachments

        Activity

          People

            shepheb Braden Shepherdson
            benjaminhill Benjamin Hill
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: