【问题标题】:Error:Could not initialize class javax.crypto.JceSecurity [closed]错误:无法初始化类 javax.crypto.JceSecurity [关闭]
【发布时间】:2015-01-18 03:16:47
【问题描述】:

我收到此错误错误:无法初始化类 javax.crypto.JceSecurity 在 Android Studio 0.9.3 中,有什么解决方案吗?

【问题讨论】:

标签: android gradle android-studio


【解决方案1】:
Ensure that the following JAR files does exist in the your JRE:

JRE/lib/security/local_policy.jar
JRE/lib/security/US_export_policy.jar

【讨论】:

  • 在 Java 升级后发生这种情况时,该目录中可能有 *_policy.jar.rpmnew 文件。将这些复制到当前文件上,这些文件实际上是您以前的 Java 版本。
猜你喜欢
  • 2021-07-16
  • 2020-11-03
  • 1970-01-01
  • 1970-01-01
  • 2020-05-28
  • 1970-01-01
  • 2023-03-20
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多