Search Issue Tracker
Fixed in 2019.2.X
Votes
0
Found in
2019.2.0a8
Issue ID
1144308
Regression
Yes
[Android] Unable to load or use keystore with password due to incorrect storepass parameter quoting
Steps to reproduce:
1. Use keytool.exe to create a keystore with a password, and a key with the a password
2. Load Unity and set it to use the built-in open-jdk implementation
3. In Unity's Android Player settings, select this keystore, or enter the Keystore Manager and select the keystore
4. Enter the password for the keystore (or in the Keystore Manager, enter the password and select Load Keys)
5. Receive an error - Unable to list keys in the keystore. Please make sure the location and password of the keystore is correct.
6. Note in the error message that the -storepass argument passed to keytool.exe is the password you provided (e.g. foo_bar) but quoted using single-quotes (e.g. -storepass 'foo_bar')
6 Run cmd.exe and copy the command line from the error message and run it, receive an error
7. Remove the single-quotes from the -storepass argument, run it again, see that it works
Expected result: storepass parameter should not be quoted
Reproduced in: 2019.3.0a1, 2019.2.0a1
Not reproduced in: 2019.1.0f2, 2018.3.14f1
Regression since: 2019.2.0a1
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
comitodan
Jul 31, 2022 18:31
Sorry ;) below solution, on unity 2021.3.6
comitodan
Jul 31, 2022 18:30
I tried the above solution but the value is already blank
sanjay_soni
May 22, 2020 12:57
SOLVED :-
1. Goto root of your project where you can see Assets and ProjectSettings Folder
2. Goto ProjectSettings -> Open ProjectSettings.asset in and editor like Notepad++ or VS code.
3. Search - 'AndroidKeystoreName' and 'AndroidKeyaliasName' in that file
4. replace with this OR just make the value blank
AndroidKeystoreName:
AndroidKeyaliasName: