Gradle build failed after creating new key on publishing settings
Hey i ended up making my game and everything was fine, the apk build was fine and worked.
now i wanted to upload it to the play store so i created a new key store in the publishing settings but since i am getting this error when trying to build the apk:
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:194 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:97 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
I downloaded all of the api versions of android from the sdk manager, tried to reimport all assets,save it in a different path. nothing worked, if anyone had this issue please help. thank you!
Your answer
![](https://koobas.hobune.stream/wayback/20220612231210im_/https://answers.unity.com/themes/thub/images/avi.jpg)