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
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is 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: