我试图在android sdk中更新我的软件包。我跑的时候:
sudo android sdk
我收到以下错误消息:
Exception in thread "Loading Sources" java.lang.ExceptionInInitializerError
at javax.crypto.JceSecurityManager.<clinit>(JceSecurityManager.java:65)
at javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2543)
at javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2567)
Java版
java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
Javac版
javac -version
javac 1.8.0_20
这是在ubuntu 12.04系统上。任何想法都将不胜感激。
答案 0 :(得分:1)
在设置中,选中Force https://... sources to be fetched using http://...