Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | duke_meister | |
Old Version | Published before Godot 3 was released. |
Sometimes when I’m exporting an APK, it will fail with the following error:
ERROR: FileAccessWindows::close: Condition ' rename_error ' is true.
At: drivers\windows\file_access_windows.cpp:135
For some reason it’s not able to rename the .tmp to .apk, and so the .tmp file remains. But the jarsigner command tries anyway, but can’t find the file:
running cmdline: "H:/Program Files/Java/jdk1.8.0_92/bin/jarsigner.exe" "-digestalg" "SHA1" "-sigalg" "MD5withRSA" "-verbose" "-keystore" "H:/dev/godot/release_20160524_SHA1.keystore" "-storepass" "pwd" "H:/path/to/file/TheApp.apk" "alias"
jarsigner: unable to open jar file: H:/path/to/file/TheApp.apk
The verify is also attempted, so it seems error conditions are not checked during this process
running cmdline: "H:/Program Files/Java/jdk1.8.0_92/bin/jarsigner.exe" "-verify" "H:/path/to/app/TheApp.apk" "-verbose"
jarsigner: java.io.FileNotFoundException: H:\path/to/fileTheApp.apk (The system cannot find the file specified)
If I then delete the .tmp file and try the exact same thing again, it will probably export just fine.