【问题标题】:How can i solve this unity android build error我该如何解决这个统一的android构建错误
【发布时间】:2020-09-09 04:55:36
【问题描述】:

我可以在 5 分钟前建造它,唯一改变的是方向错误。 但现在它给了我一个错误。那么我该如何解决呢? CommandInvokationFailure:Gradle 构建失败。 C:/程序

Files/Unity/Hub/Editor/2019.4.3f1/Editor/Data/PlaybackEngines/AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2019.4.3f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx98304m" "assembleRelease"
    
stderr[

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':launcher:packageRelease'.
> 1 exception was raised by workers:
  java.lang.RuntimeException: java.lang.RuntimeException: com.android.ide.common.signing.KeytoolException: Failed to read key 060114 from store "C:\Users\JU\New Unity Projectg\user.keystore": Keystore was tampered with, or password was incorrect


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

【问题讨论】:

    标签: android unity3d gradle build


    【解决方案1】:

    java.lang.RuntimeException: java.lang.RuntimeException: com.android.ide.common.signing.KeytoolException: 无法从存储“C:\Users\JU\New Unity Projectg\user.keystore”读取密钥 060114 : Keystore 被篡改,或者密码不正确

    这看起来像是关于 Keystore 的。检查该“用户”密钥库的密码是否正确。

    【讨论】:

      猜你喜欢
      • 2022-12-15
      • 2016-07-21
      • 2016-09-09
      • 2015-02-28
      • 2013-08-16
      • 2020-04-17
      相关资源
      最近更新 更多