Open Sreedevi-Ka opened 11 months ago
Check out https://github.com/godotengine/godot/issues/54675 for other possible fixes: recreating keystore and using alias.
I ran into this same issue. Did you figure it out? How can I see more logs or the actual command to debug this issue?
"c:\Program Files\Eclipse Adoptium\jdk-11.0.22.7-hotspot\bin\keytool.exe" -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -deststoretype pkcs12
Godot version
v3.5.2.stable.official
System information
Ubuntu 20.04.4 LTS
Issue description
Got the error “apksigner returned error #2” while exporting.
https://docs.godotengine.org/en/3.5/tutorials/export/exporting_for_android.html
Referred to mentioned fixes. Updated the JDK version to 11 but still got the same error for both Godot 4.1 and 3.5. as well.
Steps to reproduce
Export for android
Minimal reproduction project
No response