{ "id": "131929", "key": "TIMOB-17182", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-20T17:39:23.000+0000", "created": "2014-06-18T21:54:26.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_build", "qe-3.3.0", "qe-testadded" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [ { "id": "38828", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "132678", "key": "NATIVESDK-230", "fields": { "summary": "Android Native SDK requires API 14, but should require API 10", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-07T18:51:35.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h5.This is a regression. Works as expected with 3.2.3.GA\r\n\r\nh5.Description:\r\n1. Create a default app in studio.\r\n2. Build it to an android 2.3.X device with the latest 3.3.0 sdk or the one mentioned in the environment.\r\n\r\nh5.Actual Result:\r\n1. The app fails to install on the device/emulator, with the error below:\r\nConsole Logs:\r\n{code}\r\n[ERROR] : Failed to install apk on \"YT9003XD4W\"\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 143\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 143\r\n{code}\r\n\r\nStudio Logs:\r\n{code}\r\n!ENTRY com.appcelerator.titanium.android.core 4 0 2014-06-18 14:22:39.636\r\n!MESSAGE (Build 3.3.0.201406171619) [ERROR] Exit value not available until process terminates.\r\n!STACK 1\r\norg.eclipse.debug.core.DebugException: Exit value not available until process terminates.\r\n\tat org.eclipse.debug.core.model.RuntimeProcess.getExitValue(RuntimeProcess.java:372)\r\n\tat com.appcelerator.titanium.android.internal.ui.DebugLaunchStatusHandler.handleStatus(DebugLaunchStatusHandler.java:31)\r\n\tat com.appcelerator.titanium.android.core.launching.AndroidInstallerLaunchConfigurationDelegate.cleanUp(AndroidInstallerLaunchConfigurationDelegate.java:122)\r\n\tat com.appcelerator.titanium.android.core.launching.AndroidInstallerLaunchConfigurationDelegate.access$0(AndroidInstallerLaunchConfigurationDelegate.java:103)\r\n\tat com.appcelerator.titanium.android.core.launching.AndroidInstallerLaunchConfigurationDelegate$TitaniumDeployListener.error(AndroidInstallerLaunchConfigurationDelegate.java:91)\r\n\tat com.appcelerator.titanium.core.internal.cli.TitaniumDeployManager.fireError(TitaniumDeployManager.java:67)\r\n\tat com.appcelerator.titanium.core.internal.cli.TitaniumDeployManager.fireError(TitaniumDeployManager.java:59)\r\n\tat com.appcelerator.titanium.android.core.launching.AndroidInstallAppStreamListener.streamAppended(AndroidInstallAppStreamListener.java:85)\r\n\tat org.eclipse.debug.internal.core.OutputStreamMonitor$ContentNotifier.run(OutputStreamMonitor.java:258)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.debug.internal.core.OutputStreamMonitor$ContentNotifier.notifyAppend(OutputStreamMonitor.java:268)\r\n\tat org.eclipse.debug.internal.core.OutputStreamMonitor.fireStreamAppended(OutputStreamMonitor.java:117)\r\n\tat org.eclipse.debug.internal.core.OutputStreamMonitor.read(OutputStreamMonitor.java:157)\r\n\tat org.eclipse.debug.internal.core.OutputStreamMonitor.access$1(OutputStreamMonitor.java:135)\r\n\tat org.eclipse.debug.internal.core.OutputStreamMonitor$1.run(OutputStreamMonitor.java:208)\r\n\tat java.lang.Thread.run(Thread.java:695)\r\n!SUBENTRY 1 org.eclipse.debug.core 4 5010 2014-06-18 14:22:39.637\r\n!MESSAGE Exit value not available until process terminates.\r\n\r\n!ENTRY org.eclipse.debug.ui 4 120 2014-06-18 14:22:40.140\r\n!MESSAGE Error logged from Debug UI: \r\n!STACK 0\r\njava.io.IOException\r\n\tat org.eclipse.debug.internal.core.StreamsProxy.write(StreamsProxy.java:129)\r\n\tat org.eclipse.debug.internal.ui.views.console.ProcessConsole$InputReadJob.run(ProcessConsole.java:687)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)\r\n{code}\r\n\r\nh5.Expected Result:\r\n1. The app should install & launch successfully on an android 2.3.X device/emulator.", "attachment": [], "flagged": false, "summary": "Android: App built with latest 3.3.0 sdk fails to install on android 2.3.X device/emulator", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 3.3.0.201406171619\r\nTi SDK : 3.3.0.v20140617161713\r\nMac OSX : 10.8.5\r\nAlloy : 1.4.0-rc\r\nCLI - 3.3.0-rc\r\nCode Processor: 1.1.1\r\nSony Xperia - 2.3.7", "closedSprints": [ { "id": 125, "state": "closed", "name": "2014 Sprint 12 Tooling", "startDate": "2014-06-12T20:52:39.611Z", "endDate": "2014-06-21T00:00:00.000Z", "completeDate": "2014-06-23T23:24:41.234Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "309727", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Are we sure this isn't related to https://developer.appcelerator.com/question/160535/process-exit-value-was-143-after-upgrading-to-sdk-32x or http://developer.appcelerator.com/question/162845/error-application-installer-abnormal-process-termination-process-exit-value-was-143?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-18T22:05:50.000+0000", "updated": "2014-06-18T22:05:50.000+0000" }, { "id": "309743", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Packaging the app & installing through adb gives : {code} Failure [INSTALL_FAILED_OLDER_SDK]{code}", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-18T22:50:08.000+0000", "updated": "2014-06-18T22:50:08.000+0000" }, { "id": "309788", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5824\r\n3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5825\r\n\r\nTo test (the easy way), build the default 2 tab app for Android and open the generated {{build/android/AndroidManifest.xml}} and notice that the minSdkVersion is 10 after this PR (14 before).\r\n\r\nYou should also add a Android manifest section to the tiapp.xml and test various min and target SDK versions and make sure the warnings and errors make sense when you specify versions too low, target < min, and when the target api level is not installed:\r\n\r\n{code}\r\n\r\n \r\n \r\n \r\n\r\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-19T07:03:41.000+0000", "updated": "2014-06-19T07:03:41.000+0000" }, { "id": "309815", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I see [~hpham] as reviewer, great. I want to make sure he is okay with this change.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-19T11:15:08.000+0000", "updated": "2014-06-19T11:15:08.000+0000" }, { "id": "310082", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Made a few verbiage changes:\r\n\r\nMaster pull request: https://github.com/appcelerator/titanium_mobile/pull/5826\r\n3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5827", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-20T00:31:01.000+0000", "updated": "2014-06-20T00:31:01.000+0000" }, { "id": "310208", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Generates AndroidManifest as expected. Messages output when minSdkVersion or targetSdkVersion are set too low are clear and helpful.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-06-20T17:39:23.000+0000", "updated": "2014-06-20T17:39:23.000+0000" }, { "id": "310781", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nApps built with latest 3.3.0 sdk install & run successfully on android device/emulator 2.3.X.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.3.0.201406231625\r\nTi SDK : 3.3.0.v20140624130120\r\nMac OSX : 10.8.5\r\nAlloy : 1.4.0-rc2\r\nCLI - 3.3.0-rc2\r\nCode Processor: 1.1.1\r\nSony Xperia: 2.3.7", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-24T22:32:56.000+0000", "updated": "2014-06-24T22:32:56.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }