{ "id": "137550", "key": "TIMOB-17813", "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": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" }, { "id": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-11-12T18:15:23.000+0000", "created": "2014-10-01T18:22:03.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_android_tooling_smoke", "qe-3.4.1", "qe-manualtest", "qe-testadded" ], "versions": [ { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" }, { "id": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-11-21T18:51:19.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" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h6. Our CLI automation tests caught this issue. Pretty neat. \r\n\r\nh6. Its confusing if its a regression as we never had android L support in 3.4.0.GA so can't call this technically a regression.\r\n\r\nh5.Description:\r\n1. Install SDK 3.4.1.v20141001062512.\r\n2. Create a default app in studio.\r\n3. Build for android emulator or device using studio/CLI.\r\n\r\nh5.Actual Result:\r\n1. The app fails to install and gives error:\r\nOn device:\r\n{code}\r\n[ERROR] : Failed to install apk on \"02a31fff08e473f1\"\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n{code}\r\n\r\nOn emulator:\r\n{code}\r\n[ERROR] : Error: INSTALL_FAILED_OLDER_SDK\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n{code}\r\n\r\n2. On looking at the android manifest in the build folder we see:\r\n{code}\r\n\r\n{code}\r\nwhich means when the target sdk version is L it fails.\r\n\r\n3. I tried by adding \r\n{code}\r\n\r\n \r\n \r\n \r\n\r\n{code}\r\nto the tiapp.xml & the app installed without any issues.\r\n\r\n4. Installing the app on android L preview device/emulator works fine out of the box.\r\n\r\nh5.Expected Result:\r\n1. The app should install on the device/emulator successfully.", "attachment": [], "flagged": false, "summary": "Android: App fails to install for any Android version other than 5.0 with 3.4.1.v20141001062512", "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.4.0.201409261245\r\nTi SDK : 3.4.1.v20141001062512\r\nMac OSX : 10.9.4\r\nAlloy : 1.5.0\r\nCLI - 3.4.0\r\nCode Processor: 1.1.1\r\nNexus 5 - android 4.4.4\r\nNexus 5 - android L\r\nAndroid emulator - 4.4.2, 4.2.2, 2.3.7", "closedSprints": [ { "id": 243, "state": "closed", "name": "2014 Sprint 21 Tooling", "startDate": "2014-10-13T23:21:02.335Z", "endDate": "2014-10-25T00:00:00.000Z", "completeDate": "2014-10-27T16:02:24.927Z", "originBoardId": 121 }, { "id": 229, "state": "closed", "name": "2014 Sprint 20 Tooling", "startDate": "2014-09-29T22:38:08.198Z", "endDate": "2014-10-13T23:19:00.000Z", "completeDate": "2014-10-13T23:19:33.306Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "327321", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master: https://github.com/appcelerator/titanium_mobile/pull/6206\r\n\r\nTo test:\r\n1) install Android L SDK\r\n2) create an Android emulator that is older than Android L such as 4.4.2\r\n3) create an app\r\n4) do NOT set a \"tool-api-level\" or in the tiapp.xml or custom AndroidManifest.xml\r\n5) build for Android and select your old emulator\r\n6) the generated build/android/AndroidManifest.xml should have a targetSDK of \"20\" and not \"L\"", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-10-08T18:54:04.000+0000", "updated": "2014-10-08T18:54:04.000+0000" }, { "id": "328243", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "3_4_X backport: https://github.com/appcelerator/titanium_mobile/pull/6225", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-10-15T22:10:07.000+0000", "updated": "2014-10-15T22:10:07.000+0000" }, { "id": "329770", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "3_4_1: https://github.com/appcelerator/titanium_mobile/pull/6278", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-10-28T17:15:51.000+0000", "updated": "2014-10-28T17:15:51.000+0000" }, { "id": "329830", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. We can install app on android version's other than android 5.0 too.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.1.201410191611\r\nTi SDK : 3.4.1.v20141028135549, 3.4.2.v20141028134735, 3.5.0.v20141028132516\r\nMac OSX : 10.9.4\r\nAlloy : 1.5.1\r\nCLI - 3.4.1-dev\r\nCode Processor: 1.1.1\r\nSony Xperia : android 2.3.7\r\nSamsung Galaxy S4 : android 4.4.2", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-28T21:51:19.000+0000", "updated": "2014-10-28T22:55:23.000+0000" }, { "id": "329849", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Editing comment", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-28T22:55:10.000+0000", "updated": "2014-10-28T22:55:10.000+0000" }, { "id": "331836", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "adding affects version label", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-12T18:15:05.000+0000", "updated": "2014-11-12T18:15:05.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }