{ "id": "117075", "key": "TIMOB-14588", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-08-07T18:26:16.000+0000", "created": "2013-07-11T00:07:06.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "androidbuild" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [ { "id": "30706", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "79245", "key": "TIMOB-5010", "fields": { "summary": "Latest version of Java unusable for building Android projects", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "31123", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "118600", "key": "TISTUD-5270", "fields": { "summary": "Confirm support for JDK 7", "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": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-08-28T19:41:09.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": "10207", "name": "Tooling" } ], "description": "h6. Details:\r\nIf you have Java 7 on your computer and packaged your Titanium app for the Play Store, *INSTALL_PARSE_FAILED_NO_CERTIFICATES* is returned if you try to install the packaged app to an Android device.\r\n\r\n*This does not affect machines that have Java 6.*\r\n\r\nHere is the Q&A thread: http://developer.appcelerator.com/question/151653\r\nHere is the referenced workaround: http://developer.android.com/tools/publishing/app-signing.html#signapp\r\n\r\nh6. Steps to reproduce:\r\n1. In Titanium Studio, create a default app\r\n2. Select the app and go to *Publish > Distribute - Android App Store*\r\n3. Fill out the required fields and press publish\r\n4. After app is packaged, open terminal and cd to where the packaged app is\r\n5. Plug in an Android device and run the following command: *adb install .apk*\r\n\r\nh6. Actual:\r\n[INSTALL_PARSE_FAILED_NO_CERTIFICATES] is returned:\r\n{code}\r\n$ adb install testThePackage.apk \r\n3122 KB/s (6101612 bytes in 1.908s)\r\n\tpkg: /data/local/tmp/testThePackage.apk\r\nFailure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]\r\n{code}\r\n\r\nh6. Expected:\r\nShould be able to install app to Android device after Titanium Studio packages it for the Play Store.\r\n\r\nh6. Note:\r\nTo workaround this issue: \r\n1. Run the following command: *jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore .keystore .apk *\r\n2. Enter your keystore's password\r\n3. Install the app to Android device again", "attachment": [], "flagged": false, "summary": "Android: Packaging - Can't install packaged app onto Android with Java 7", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 3.1.2.201307091805\r\nSDK build: 3.1.2.v20130708163051\r\nJava version: 1.7.0_21\r\nOS: Max OS X (10.8.4)", "comment": { "comments": [ { "id": "262221", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Believe this should be handled on the CLI/platform end. Here is the command Studio calls:\n\n{code}\n\"/usr/local/bin/titanium\" \"--no-colors\" \"--no-prompt\" \"build\" \"--platform\" \"android\" \"--sdk\" \"3.1.1.GA\" \"--log-level\" \"trace\" \"--target\" \"dist-playstore\" \"--android-sdk\" \"/Library/android-sdk\" \"--alias\" \"android\" \"--keystore\" \"/Users/mxia/Desktop/android.key\" \"--password\" \"**********\" \"--output-dir\" \"/Users/mxia/Desktop/Android\" \"--api-level\" \"10\"\n{code}\n\nThe command contains the necessary info for running the jarsigner command (keystore location and alias).\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-17T20:22:10.000+0000", "updated": "2013-07-17T20:22:10.000+0000" }, { "id": "262279", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I would argue that it should be a high priority issue and not a medium priority issue.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-18T01:48:10.000+0000", "updated": "2013-07-18T01:48:10.000+0000" }, { "id": "265387", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TIMOB-5010.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-07T18:26:16.000+0000", "updated": "2013-08-07T18:26:16.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }