Unity build Android包keystore报错解决分享
Unity版本 2021.3.16f1c1
报错弹窗:
A faliure occured while executing com.android.build.gradle.internal.tasks
不啦不啦的,后面不记得了
点击Log 中 FAILURE: Build failed with an exception
在*What went wrong 的小节,我找到了
com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "C:\Users\liqui\.android\debug.keystore": Invalid keystore format
解决方案是,直接进入它给的目录,删除keystore
如果keystore被占用,在资源监视器中搜索keystore,会看见java.exe占用了keystore,将java.exe干掉行了