Keystore location/password issue

New person here. Trying to build an android game. Making a keystore and adding key’s to it worked fine initially until I had to try changing the android API settings in which I may have fiddled something off… Currently I’m having the issue of the following:

The Error:
CommandInvokationFailure: Unable to create key in keystore. Please make sure the location and password of the keystore is correct.

The full error i add at the end. Any input would be great as I am sort of new and all the “stuff” feels sort of overwhelming.

The full error:

CommandInvokationFailure: Unable to create key in keystore. Please make sure the location and password of the keystore is correct. 
C:\Program Files\Unity\2023.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -Xmx4096M -Dcom.android.sdkmanager.toolsdir="C:\Program Files\Unity\2023.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\cmdline-tools\6.0" -Dfile.encoding=UTF8 -jar "C:/Program Files/Unity/2023.1.9f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\sdktools.jar" -

Environment Variables:
USERDOMAIN = DESKTOP-GSE3GOT
ProgramFiles = C:\Program Files
TMP = C:\Users\nived\AppData\Local\Temp
PROCESSOR_ARCHITECTURE = AMD64
PROCESSOR_REVISION = 5000
OneDriveConsumer = C:\Users\nived\OneDrive
OS = Windows_NT
CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_28580_NTSXVXSCQHZZCNLK
CSSCRIPT_INC = C:\ProgramData\cs-script\inc
PROCESSOR_IDENTIFIER = AMD64 Family 25 Model 80 Stepping 0, AuthenticAMD
AMPLITUDE_API_KEY = 28f3cae0b33b8b3702120c9ed1a935aa
USERPROFILE = C:\Users\nived
JAVA_HOME = C:\Program Files\Unity\2023.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK
CommonProgramFiles = C:\Program Files\Common Files
DriverData = C:\Windows\System32\Drivers\DriverData
ComSpec = C:\Windows\system32\cmd.exe
LAUNCH_DARKLY_CLIENT_TOKEN = 60a7e30fafc7e60e33446283
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC = C:\Users\Public
SystemRoot = C:\Windows
HEAP_CLIENT_TOKEN = 1717415662
NUMBER_OF_PROCESSORS = 16
WOOTRIC_CLIENT_TOKEN = NPS-aa8be4c3
DEBUG_ENV_VAR = UnityHub
ProgramW6432 = C:\Program Files
FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
HOMEDRIVE = C:
TEMP = C:\Users\nived\AppData\Local\Temp
Path = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\HP\Common\HPDestPlgIn\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Users\nived\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\HP\Common\HPDestPlgIn\;C:\Users\nived\.dotnet\tools;C:\Users\nived\AppData\Local\GitHubDesktop\bin;C:\Users\nived\AppData\Local\Programs\Microsoft VS Code\bin
USERNAME = nived
COMPUTERNAME = DESKTOP-GSE3GOT
USERDOMAIN_ROAMINGPROFILE = DESKTOP-GSE3GOT
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
SystemDrive = C:
ALLUSERSPROFILE = C:\ProgramData
SENTRY_ACCESS_TOKEN = 3df78d9e53f8456aa90fbae044ce1a6261421ab1d0014674bc2e933477289017
HEAP_CLIENT_TOKEN_STAGING = 3786794399
FPS_BROWSER_USER_PROFILE_STRING = Default
windir = C:\Windows
AMPLITUDE_API_KEY_STAGING = 83ee04fccc67e4fcc7dd527c4c6f1e21
CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
APPDATA = C:\Users\nived\AppData\Roaming
PROCESSOR_LEVEL = 25
CommonProgramW6432 = C:\Program Files\Common Files
ProgramFiles(x86) = C:\Program Files (x86)
NVIDIAWHITELISTED = 0x01
SESSIONNAME = Console
LOGONSERVER = \\DESKTOP-GSE3GOT
LOCALAPPDATA = C:\Users\nived\AppData\Local
HOMEPATH = \Users\nived
LAUNCH_DARKLY_CLIENT_TOKEN_STAGING = 60a7e30fafc7e60e33446282
SHIM_MCCOMPAT = 0x810000001
OneDrive = C:\Users\nived\OneDrive
ProgramData = C:\ProgramData
ORIGINAL_XDG_CURRENT_DESKTOP = undefined


stderr[
Exception in thread "main" java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at SDKMain.main(SDKMain.java:63)
Caused by: java.lang.NoClassDefFoundError: org/bouncycastle/asn1/cms/CMSObjectIdentifiers
	at org.bouncycastle.operator.DefaultSignatureNameFinder.<clinit>(Unknown Source)
	at org.bouncycastle.operator.jcajce.OperatorHelper.<clinit>(Unknown Source)
	at org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.<init>(Unknown Source)
	at UnityKeyToolGenKey.<init>(UnityKeyToolGenKey.java:96)
	at UnityKeyToolGenKey.main(UnityKeyToolGenKey.java:35)
	... 5 more
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.asn1.cms.CMSObjectIdentifiers
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 10 more
]
stdout[

]
exit code: 1
UnityEditor.Android.AndroidSDKTools.RunCommand (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, System.String workingdir, System.String errorMsg, System.Int32 memoryMB) (at <2d86448f41824384996b1cafe5e3d036>:0)
UnityEditor.Android.AndroidSDKTools.RunCommand (UnityEditor.Android.AndroidJavaTools javaTools, System.String[] sdkToolCommand, System.String errorMsg) (at <2d86448f41824384996b1cafe5e3d036>:0)
UnityEditor.Android.AndroidSDKTools.CreateKey (UnityEditor.Android.AndroidJavaTools javaTools, System.String keystore, System.String storepass, System.String alias, System.String password, System.String dname, System.Int32 validityInDays) (at <2d86448f41824384996b1cafe5e3d036>:0)
UnityEditor.Android.AndroidKeystoreWindow.CreateKey () (at <2d86448f41824384996b1cafe5e3d036>:0)
UnityEditor.Android.AndroidKeystoreWindow.OnGUI () (at <2d86448f41824384996b1cafe5e3d036>:0)
UnityEditor.HostView.OldOnGUI () (at <a5160dfe9cb64ddcaeb972a242b269b2>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.IMGUIContainer.ProcessEvent (UnityEngine.UIElements.EventBase evt) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.IMGUIContainer.ExecuteDefaultActionAtTarget (UnityEngine.UIElements.EventBase evt) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.EventDispatchUtilities.HandleEvent_DefaultActionAtTarget (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.EventDispatchUtilities.DispatchToCapturingElement (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, System.Int32 pointerId, UnityEngine.Vector2 position) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.EventDispatchUtilities.DispatchToCapturingElementOrElementUnderPointer (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, System.Int32 pointerId, UnityEngine.Vector2 position) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.MouseEventBase`1[T].Dispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <2b13933dcff5477eaa4a6b115fd7399e>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <c13eaf8445f340569f92c39b9afb5a1d>:0)

I ended up sort of “rebuilding?” more so “reconnecting” my entire project as a new project as I couldn’t really find the issue.