{ "id": "122722", "key": "TIMOB-15759", "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-12-04T00:54:14.000+0000", "created": "2013-11-20T22:38:24.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.2.0" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "33456", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "122902", "key": "TIMOB-15817", "fields": { "summary": "CLI: Java 1.7 on Mavericks will cause packaged app to fail on install to Android 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 } } } }, { "id": "34296", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "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": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-21T21: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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5.Description\r\nCreating an Android project and running it on a Kindle Fire works through Studio. When the project is packaged to an apk file then it errors out and displays that kindle certificates haven't been found.\r\n\r\nI have attached a Linux script that will take the Studio apk file and sign it for the kindle. Then you only have to install the apk to the device with \"adb install /path/to/app.apk\".\r\nIt requires certain files to run the script. The script will tell you what you need to install.\r\n\r\nh5.Steps To Reproduce\r\n1. Create an package an android application\r\n2. Install the application on an Android device\r\n3. Install the application on a Kindle Fire\r\n\r\nh5.Expected Result\r\n2. Android device should have the app installed\r\n3. Kindle Fire should have the same app installed\r\n\r\nh5.Actual Result\r\n2. Android device has the app installed\r\n3. Kindle Fire errors out saying it has no certificates.\r\n\r\n+Extra Information+\r\nThe attached script has a specific format but very simple to use.\r\n\r\n1. Move the apk you want signing into the \"place-apk-here-for-signing\" folder.\r\n2. Run the script, don't clear out any folders if asked.\r\n3. Run the 15th command to sign the application\r\n4. Inside the \"place-apk-here-for-signing\" folder will be a signed.apk\r\n5. Use ADB to install this new apk to Kindle", "attachment": [ { "id": "44047", "filename": "APK Signer.zip", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-20T22:38:24.000+0000", "size": 4071943, "mimeType": "application/zip" } ], "flagged": false, "summary": "CLI: Android apk won't install to Kindle Fire due to certificates error", "creator": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.9 Mavericks\r\nTitanium Studio, build: 3.2.0.201311200322\r\nTitanium SDK, build: 3.2.0.v20131119142443\r\nCLI: 3.2.0-alpha\r\nAlloy: 1.3.0-alpha\r\nKindle Fire running Android 4.0.4", "comment": { "comments": [ { "id": "281215", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is this all Kindle Fires or just a specific version?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-25T20:53:20.000+0000", "updated": "2013-11-25T20:53:20.000+0000" }, { "id": "281960", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Created and packaged an Android application called Example.apk through Titanium Studio\n\n{code}SDowseMBP:Android sdowse$ adb install Example.apk\n5669 KB/s (8789980 bytes in 1.513s)\n\tpkg: /data/local/tmp/Example.apk\nFailure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]{code}", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-02T19:44:56.000+0000", "updated": "2013-12-02T19:44:56.000+0000" }, { "id": "281992", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a Mavericks only issue.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-02T21:31:36.000+0000", "updated": "2013-12-02T21:31:36.000+0000" }, { "id": "282047", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TIMOB-15817", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-03T01:36:08.000+0000", "updated": "2013-12-03T01:36:08.000+0000" }, { "id": "282200", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~sdowse] This ticket is marked as a dup of TIMOB-15817 but that ticket is marked as \"cannot reproduce\". Can you please confirm that both of these tickets work with you after you recreate the store?", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-03T21:21:49.000+0000", "updated": "2013-12-03T21:21:49.000+0000" }, { "id": "282215", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have created a new keystore with a different name, password and alias to my previous keystore.\nUnfortunately the error still occurs for me.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-03T22:21:04.000+0000", "updated": "2013-12-03T22:21:04.000+0000" }, { "id": "282323", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "So, Sam was able to perform this successfully on two other machines. I'm going to re-resolve as cannot reproduce, but we should figure out how to \"fix\" Sam's machine.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-04T00:54:14.000+0000", "updated": "2013-12-04T00:54:14.000+0000" }, { "id": "282328", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I completely removed all traces of Java from my machine.\r\nAll Java folders, all oracle folders, even the Java internet plugin. Everything Java related wiped.\r\nI then installed Java from the following link: [Java SE 6, 1.6.0_65|http://support.apple.com/kb/dl1572]\r\nAfter this I created a new Android project, a new Android keystore and packaged it.\r\n\r\nInstalling the application using ADB succeeded.\r\n\r\n{code}\r\nSDowseMBP:~ sdowse$ adb install Documents/Android/KindleFire.apk\r\n5945 KB/s (8720922 bytes in 1.432s)\r\n\tpkg: /data/local/tmp/KindleFire.apk\r\nSuccess\r\n{code}\r\n\r\n\r\n+Extra Information+\r\nThe files/folders I had to delete:\r\n\r\n/System/Library/Java\r\n/Library/Java\r\n/Library/Application Support/Oracle\r\n/Library/Internet Plug-Ins/JavaAppletPlugin.plugin", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-04T01:26:47.000+0000", "updated": "2013-12-04T01:29:24.000+0000" }, { "id": "414500", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:51:35.000+0000", "updated": "2017-03-21T21:51:35.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }