GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-11-15T22:17:14.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 23, 2013 Sprint 23 Core, Release 3.2.0 |
Components | Android, Tooling |
Labels | androidbuild, cb-verified, qe-closed-3.2.0 |
Reporter | Nam Le |
Assignee | Chris Barber |
Created | 2011-12-01T15:10:11.000+0000 |
Updated | 2013-12-12T01:22:15.000+0000 |
The ADT supports packaging an apk using a specific keystore/password and a key/password. It appears that we require both the keystore and alias passwords to be the same. When I run the builder.py script using the correct keystore password, but use a alias with a different password, the script hangs.
Why is this needed. I believe our signing guide tells them to use the same password.
It provides additional security and flexibility to our users. If this is something that you don't intend to add, then we should at least return some error or response, instead of just hanging
Pull request: https://github.com/appcelerator/titanium_mobile/pull/4980 To test: 1) create an Android project using Studio or the CLI 2) copy attached keystores to your computer 3) perform the following builds below Attached keystore info:
NOTE: --output-dir has been omitted, but is still required. You will be prompted for the output dir in each scenario below. Test 1) mykeystore: No keystore args
Test 2) mykeystore: Bad --keystore
Test 3) mykeystore: Good --keystore, missing --store-password
Test 4) mykeystore: Good --keystore, bad --store-password
Test 5) mykeystore: Good --keystore and --store-password (won't prompt for --key-password since mykeystore doesn't have one)
Test 6) testkeystore: No keystore args
Test 7) testkeystore: Good --keystore, missing --store-password
Test 8) testkeystore: Good --keystore, bad --store-password
Test 9) testkeystore: Good --keystore and --store-password, missing --key-password
Test 10) testkeystore: Good --keystore and --store-password, bad --key-password
Test 11) testkeystore: Good --keystore, --store-password, and --key-password
Verified fixed on: Mac OSX 10.9 Mavericks Appcelerator Studio, build: 3.2.0.201312101708 Titanium SDK, build: 3.2.0.v20131210191510 CLI: 3.2.0-cr Alloy: 1.3.0-cr Ran all the test cases provided in the comments. All examples ran as expected. Closing.