{ "id": "153270", "key": "AC-506", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2015-12-08T06:01:16.000+0000", "created": "2015-11-18T13:38:24.000+0000", "labels": [ "android", "build", "certificate", "java" ], "versions": [], "issuelinks": [ { "id": "49879", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "149920", "key": "AC-267", "fields": { "summary": "INSTALL_PARSE_FAILED_NO_CERTIFICATES on Android 4.3 older devices", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "50063", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "124810", "key": "TIMOB-16189", "fields": { "summary": "Android: Package - Installing a packaged app fails with INSTALL_PARSE_FAILED_NO_CERTIFICATES on a non-KitKat device ", "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": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-12-10T07:22:09.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "If I use a signature file with signature algorithm SHA256withRSA script _build.js stores \"SHA256withRSA\" as sigalg parameter, the project build, but is impossible to install on older devices that exits with INSTALL_PARSE_FAILED_NO_CERTIFICATES error\r\n\r\nAs [documentation says|http://developer.android.com/tools/publishing/app-signing.html#signapp] -sigalg should always be \"SHA1withRSA\", so I modified line 828:\r\n\r\n\r\n{code:java}\r\nt.keystoreAliases.push({\r\n name: m[1],\r\n sigalg: \"SHA1withRSA\"\r\n});\r\n{code}\r\n\r\n\r\nand it works (sigalg: \"MD5withRSA\" works too)", "attachment": [], "flagged": false, "summary": "INSTALL_PARSE_FAILED_NO_CERTIFICATES on Android 4.2 older devices", "creator": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Window 7 x64 - Titanium SDK 4.1.0 - Java 1.7 / 1.8", "comment": { "comments": [ { "id": "372030", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nThanks for your query. Did to try to Package the app to the Android App Store from Studio or using CLI command? Please provide the complete test case to reproduce this error.\r\n\r\n\r\nThanks", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-03T09:05:54.000+0000", "updated": "2015-12-03T09:05:54.000+0000" }, { "id": "372031", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "body": "From Studio. Just make a keystore, use it to build an app in Appcelerator Studio and try to install on a 4.2 device.", "updateAuthor": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-12-03T09:09:57.000+0000", "updated": "2015-12-03T09:10:42.000+0000" }, { "id": "372035", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nThanks for your feedback.After some investigation, the following was realized: However, if you install the packaged app with the SHA256withRSA signature keystore onto a non-KitKat (< 4.4) device, then you will see the bug behaviour. Only a packaged app with a signed SHA1withRSA signature keystore can be installed onto a non-KitKat device.\r\n\r\n\r\nThanks", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-03T09:39:37.000+0000", "updated": "2015-12-03T11:42:13.000+0000" }, { "id": "372047", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "body": "It's not true. If you use a SHA256withRSA keystroke with \"sigalg: SHA1withRSA\" or \"-sigalg MD5withRSA\" it works on all Android version.\r\n\r\nI must use this method after users report the problem while installing on older devices because I can't change my keystroke for update policy reason.", "updateAuthor": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-12-03T11:27:53.000+0000", "updated": "2015-12-04T10:01:22.000+0000" }, { "id": "372050", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-03T11:59:22.000+0000", "updated": "2015-12-03T11:59:22.000+0000" }, { "id": "372064", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "body": "same problem / solution in that ", "updateAuthor": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-12-03T16:34:58.000+0000", "updated": "2015-12-03T16:34:58.000+0000" }, { "id": "372394", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Same problem: TIMOB-16189", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-12-08T06:01:16.000+0000", "updated": "2015-12-08T06:01:16.000+0000" }, { "id": "372597", "author": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "body": "the duplicate TIMOB-16189 was closed without a solution\r\nmy first ticket AC-267 was closed with a \"can't reproduce\" and I've added the info to do that\r\nI don't think duplicate again the issue is a good idea, but the bug is still present, what I can do?", "updateAuthor": { "name": "c3k", "key": "c3k", "displayName": "carlo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-12-10T07:22:09.000+0000", "updated": "2015-12-10T07:22:09.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }