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.
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.
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.
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
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.
Problem is present when the app is not flagged as "android:debuggable", is this a normal behavior ?
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