google play console apksigner error?

So I want to upload my apk (first app!!) to google play console but when I upload it gives me this error:
Error apksigner: ERROR: JAR_SIG_NO_MANIFEST: Missing META-INF/MANIFEST.MF.
I have built and signed the apk succesfully using the built-in signing in unity and it generates the .xml manifest file and it seems all correct.
How can I fix this error to upload the app? Thanks!

Try reainstalling JDK and SDK. That should fix it.