Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-17182

Android: App built with latest 3.3.0 sdk fails to install on android 2.3.X device/emulator

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 3.3.0
    • Fix Version/s: Release 3.3.0, Release 3.4.0
    • Component/s: Android
    • Environment:

      Environment:
      Appc Studio : 3.3.0.201406171619
      Ti SDK : 3.3.0.v20140617161713
      Mac OSX : 10.8.5
      Alloy : 1.4.0-rc
      CLI - 3.3.0-rc
      Code Processor: 1.1.1
      Sony Xperia - 2.3.7

    • Sprint:
      2014 Sprint 12 Tooling

      Description

      This is a regression. Works as expected with 3.2.3.GA
      Description:

      1. Create a default app in studio.
      2. Build it to an android 2.3.X device with the latest 3.3.0 sdk or the one mentioned in the environment.

      Actual Result:

      1. The app fails to install on the device/emulator, with the error below:
      Console Logs:

      [ERROR] :  Failed to install apk on "YT9003XD4W"
      [ERROR] Application Installer abnormal process termination. Process exit value was 143
      [ERROR] Application Installer abnormal process termination. Process exit value was 143
      

      Studio Logs:

      !ENTRY com.appcelerator.titanium.android.core 4 0 2014-06-18 14:22:39.636
      !MESSAGE (Build 3.3.0.201406171619) [ERROR]  Exit value not available until process terminates.
      !STACK 1
      org.eclipse.debug.core.DebugException: Exit value not available until process terminates.
      	at org.eclipse.debug.core.model.RuntimeProcess.getExitValue(RuntimeProcess.java:372)
      	at com.appcelerator.titanium.android.internal.ui.DebugLaunchStatusHandler.handleStatus(DebugLaunchStatusHandler.java:31)
      	at com.appcelerator.titanium.android.core.launching.AndroidInstallerLaunchConfigurationDelegate.cleanUp(AndroidInstallerLaunchConfigurationDelegate.java:122)
      	at com.appcelerator.titanium.android.core.launching.AndroidInstallerLaunchConfigurationDelegate.access$0(AndroidInstallerLaunchConfigurationDelegate.java:103)
      	at com.appcelerator.titanium.android.core.launching.AndroidInstallerLaunchConfigurationDelegate$TitaniumDeployListener.error(AndroidInstallerLaunchConfigurationDelegate.java:91)
      	at com.appcelerator.titanium.core.internal.cli.TitaniumDeployManager.fireError(TitaniumDeployManager.java:67)
      	at com.appcelerator.titanium.core.internal.cli.TitaniumDeployManager.fireError(TitaniumDeployManager.java:59)
      	at com.appcelerator.titanium.android.core.launching.AndroidInstallAppStreamListener.streamAppended(AndroidInstallAppStreamListener.java:85)
      	at org.eclipse.debug.internal.core.OutputStreamMonitor$ContentNotifier.run(OutputStreamMonitor.java:258)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.debug.internal.core.OutputStreamMonitor$ContentNotifier.notifyAppend(OutputStreamMonitor.java:268)
      	at org.eclipse.debug.internal.core.OutputStreamMonitor.fireStreamAppended(OutputStreamMonitor.java:117)
      	at org.eclipse.debug.internal.core.OutputStreamMonitor.read(OutputStreamMonitor.java:157)
      	at org.eclipse.debug.internal.core.OutputStreamMonitor.access$1(OutputStreamMonitor.java:135)
      	at org.eclipse.debug.internal.core.OutputStreamMonitor$1.run(OutputStreamMonitor.java:208)
      	at java.lang.Thread.run(Thread.java:695)
      !SUBENTRY 1 org.eclipse.debug.core 4 5010 2014-06-18 14:22:39.637
      !MESSAGE Exit value not available until process terminates.
       
      !ENTRY org.eclipse.debug.ui 4 120 2014-06-18 14:22:40.140
      !MESSAGE Error logged from Debug UI: 
      !STACK 0
      java.io.IOException
      	at org.eclipse.debug.internal.core.StreamsProxy.write(StreamsProxy.java:129)
      	at org.eclipse.debug.internal.ui.views.console.ProcessConsole$InputReadJob.run(ProcessConsole.java:687)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      

      Expected Result:

      1. The app should install & launch successfully on an android 2.3.X device/emulator.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              lchoudhary Lokesh Choudhary
              Reviewer:
              Tim Poulsen
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-18869
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code