Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17213] Android: LiveView enabled apps fail to install on android 4.4.4 device

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-06-27T00:32:09.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid, LiveView
Labelsqe-3.3.0
ReporterLokesh Choudhary
AssigneePraveen Innamuri
Created2014-06-25T17:56:58.000+0000
Updated2017-03-31T21:53:48.000+0000

Description

Description:

1. Create a default classic/alloy app. 2. Enable LiveView & build the app for android 4.4.4 device.

Actual Result:

1. The app fails to install on android 4.4.4 device. Studio Console logs:
[ERROR] :  Failed to install apk on "02a31fff08e473f1"
[ERROR] Application Installer abnormal process termination. Process exit value was 1
[ERROR] Application Installer abnormal process termination. Process exit value was 1
2. Studio logs:
!ENTRY com.appcelerator.titanium.android.core 4 0 2014-06-25 10:50:43.226
!MESSAGE (Build 3.3.0.201406231625) [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-25 10:50:43.226
!MESSAGE Exit value not available until process terminates.

!ENTRY org.eclipse.debug.ui 4 120 2014-06-25 10:50:43.732
!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)
3. The apps install fine on android 4.4 & 4.3 devices.

Expected Result:

1. The LiveView enabled apps should install & run successfully on android 4.4.4 device.

Comments

  1. Lokesh Choudhary 2014-06-25

    This issue is seen with Ti SDK 3.2.3.GA too. So, its not a regression. This might be android 4.4.4 specific issue.
  2. Neha Mittal 2014-06-26

    I am not able to reproduce the above issue using below environment: Appcelerator Studio: 3.3.0.201406231625 SDK build: 3.3.0.v20140625133319 and 3.2.3.GA acs: 1.0.15 npm: 1.3.2 alloy: 1.4.0-rc2 CLI: titanium-3.3.0-rc3 titanium-code-processor:1.1.1 Xcode: 5.1.1 Osx: Mavericks(10.9.3) Device: Nexus 5 (4.4.4) and Nexus 7 (4.4.4) App installed successfully on device and emulator with LiveView enabled.
  3. Praveen Innamuri 2014-06-27

    I am able to run a default classic app on Android 4.4 device using liveview without any issues using Studio 3.3.0.201406231625
  4. david fabreguette 2014-07-11

    Getting the same problem doing this : #1 - Installing successfully the app on device (Android 4.4.3) #2 - Modify anything in the code and push the app again to device ... > Getting the exact same bug and logs. I need to remove the app totally from the device to make it installable again in the device.
  5. david fabreguette 2014-07-11

    Problem is present when the app is not flagged as "android:debuggable", is this a normal behavior ?
  6. Lee Morris 2017-03-31

    Unable to reproduce this issue, tested with the following environment; Pixel (7.1) MacOS 10.11.6 (15G31) Studio 4.8.1.201612050850 Ti SDK 6.0.2 GA Appc NPM 4.2.8 Appc CLI 6.1.0 Ti CLI 5.0.11 Alloy 1.9.5 Arrow 1.10.1 Xcode 8.2 (8C38) Node v4.6.0 Java 1.7.0_80

JSON Source