{ "id": "113185", "key": "TIMOB-13639", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-05-23T09:26:33.000+0000", "created": "2013-04-22T11:39:19.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.1.1" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:44:32.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": "Unable to install 'facebook module included titanium project' on device after packaging.\r\nThis is not regression since the issue occurs on 3.1.0 GA as well.\r\n\r\nSteps to reproduce:\r\n\r\n1. Create a titanium project.\r\n2. Include facebook module into it.\r\n3. Package the app for android app store.\r\n4. Connect device to machine.\r\n5. From command line, go to appropriate folder and type \"adb install appname.apk\".\r\n\r\nExpected:\r\nApp should be installed to the device.\r\n\r\nActual:\r\nAn error is thrown:\r\nFailure [INSTALL_FAILED_ALREADY_EXISTS]\r\nand the app does not install onto the device.", "attachment": [], "flagged": false, "summary": "Android: Packaging - Unable to install 'facebook module included titanium project' on device after packaging.", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested with: \r\nSDK:3.1.1.v20130416154549\r\nAppcelerator Studio: 3.1.0.201304151708\r\nOS: OSX 10.7.5\r\nXcode: 4.6", "comment": { "comments": [ { "id": "253222", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I cannot reproduce this issue if I follow the steps. \r\nHowever, dragging of the .apk file to the terminal after \"adb install\" will reproduce the issue.\r\nThe reason is the one space character in the end of the command.\r\n\r\nTest steps:\r\n1. Following the test steps *typing* \r\n adb install timob-13639.apk \r\n3277 KB/s (6612994 bytes in 1.970s)\r\n\tpkg: /data/local/tmp/timob-13639.apk\r\nSuccess\r\n2. Dragging of the file after (adb install)\r\n.......$ adb install /Users/oromero/Desktop/timob-13639.apk(space is here) \r\n2915 KB/s (6612994 bytes in 2.215s)\r\n\tpkg: /data/local/tmp/timob-13639.a......$\r\nFailure [INSTALL_FAILED_ALREADY_EXISTS]\r\n\r\nNote: deleting this space results in successful installation. \r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-21T20:34:44.000+0000", "updated": "2013-05-21T20:35:22.000+0000" }, { "id": "253607", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can't reproduce this issue. I packaged KS (which has the facebook module installed) and it was able to install fine.\r\n\r\nIf you do 'adb install KitchenSink.apk' more than once, then you do get the 'INSTALL_FAILED_ALREADY_EXISTS' error. This is expected since you already installed the app.\r\n\r\nIf you run into this, I would just uninstall the app: 'adb uninstall ', and then try reinstalling.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-23T09:26:33.000+0000", "updated": "2013-05-23T09:26:33.000+0000" }, { "id": "259630", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The native android behavior is to throw this error when you have a packaged app already installed and you try to install it again. To avoid the chance that there is something else going on here, please try to reproduce and if your results match our expectations (if a production app exists with the same app ID, you can't install) we will close. If not we will reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-26T22:02:10.000+0000", "updated": "2013-06-26T22:03:33.000+0000" }, { "id": "259686", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with: \r\nSDK:3.1.2.v20130624104600\r\nAppcelerator Studio: 3.1.1.201306131423\r\nOS: OSX 10.7.5\r\nDevice:HTC desire(4.0.3)\r\n\r\nworks as expected", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-27T06:45:41.000+0000", "updated": "2013-06-27T06:45:41.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }