Android SDK Manager Exception on Lubuntu 64bit - Ask Ubuntu


i have errors while running android skd manager.
tried run ./android , sudo ./android, changed settings > force https://... sources fetched using http://.... nothing helped.

am missing something?

os: lubuntu 16.10 64bit
androidskd: android-sdk_r24.4.1-linux

xxx@yyy:~/soft/android/android-sdk-linux/tools$ java -version openjdk version "9-ubuntu" openjdk runtime environment (build 9-ubuntu+0-9b134-2ubuntu1) openjdk 64-bit server vm (build 9-ubuntu+0-9b134-2ubuntu1, mixed mode)   xxx@yyy:~/soft/android/android-sdk-linux/tools$ ./android  exception in thread "loading sources" java.lang.exceptionininitializererror     @ javax.crypto.jcesecuritymanager.<clinit>(java.base@9-ubuntu/jcesecuritymanager.java:65)     @ javax.crypto.cipher.getconfiguredpermission(java.base@9-ubuntu/cipher.java:2595)     @ javax.crypto.cipher.getmaxallowedkeylength(java.base@9-ubuntu/cipher.java:2619)     @ sun.security.ssl.ciphersuite$bulkcipher.isunlimited(java.base@9-ubuntu/ciphersuite.java:602)     @ sun.security.ssl.ciphersuite$bulkcipher.<init>(java.base@9-ubuntu/ciphersuite.java:574)     @ sun.security.ssl.ciphersuite$bulkcipher.<clinit>(java.base@9-ubuntu/ciphersuite.java:460)     @ sun.security.ssl.ciphersuite.<clinit>(java.base@9-ubuntu/ciphersuite.java:1074)     @ sun.security.ssl.sslcontextimpl.getapplicablesupportedciphersuitelist(java.base@9-ubuntu/sslcontextimpl.java:353)     @ sun.security.ssl.sslcontextimpl.access$100(java.base@9-ubuntu/sslcontextimpl.java:41)     @ sun.security.ssl.sslcontextimpl$abstracttlscontext.<clinit>(java.base@9-ubuntu/sslcontextimpl.java:582)     @ java.lang.class.forname0(java.base@9-ubuntu/native method)     @ java.lang.class.forname(java.base@9-ubuntu/class.java:291)     @ java.security.provider$service.getimplclass(java.base@9-ubuntu/provider.java:1844)     @ java.security.provider$service.newinstance(java.base@9-ubuntu/provider.java:1820)     @ sun.security.jca.getinstance.getinstance(java.base@9-ubuntu/getinstance.java:236)     @ sun.security.jca.getinstance.getinstance(java.base@9-ubuntu/getinstance.java:164)     @ javax.net.ssl.sslcontext.getinstance(java.base@9-ubuntu/sslcontext.java:166)     @ org.apache.http.conn.ssl.sslsocketfactory.createsslcontext(sslsocketfactory.java:202)     @ org.apache.http.conn.ssl.sslsocketfactory.createdefaultsslcontext(sslsocketfactory.java:209)     @ org.apache.http.conn.ssl.sslsocketfactory.<init>(sslsocketfactory.java:333)     @ org.apache.http.conn.ssl.sslsocketfactory.getsocketfactory(sslsocketfactory.java:165)     @ org.apache.http.impl.conn.schemeregistryfactory.createdefault(schemeregistryfactory.java:45)     @ org.apache.http.impl.client.abstracthttpclient.createclientconnectionmanager(abstracthttpclient.java:294)     @ org.apache.http.impl.client.abstracthttpclient.getconnectionmanager(abstracthttpclient.java:445)     @ com.android.sdklib.internal.repository.urlopener.openwithhttpclient(urlopener.java:369)     @ com.android.sdklib.internal.repository.urlopener.openurl(urlopener.java:188)     @ com.android.sdklib.internal.repository.downloadcache.openurl(downloadcache.java:298)     @ com.android.sdklib.internal.repository.downloadcache.opencachedurl(downloadcache.java:416)     @ com.android.sdklib.internal.repository.addonslistfetcher.fetchxmlurl(addonslistfetcher.java:272)     @ com.android.sdklib.internal.repository.addonslistfetcher.fetch(addonslistfetcher.java:137)     @ com.android.sdklib.internal.repository.updater.packageloader.loadremoteaddonslistintask(packageloader.java:465)     @ com.android.sdklib.internal.repository.updater.packageloader.access$200(packageloader.java:52)     @ com.android.sdklib.internal.repository.updater.packageloader$3.run(packageloader.java:435)     @ com.android.sdkuilib.internal.tasks.progressview$2.run(progressview.java:140)     @ com.android.sdkuilib.internal.tasks.progressview.starttask(progressview.java:162)     @ com.android.sdkuilib.internal.tasks.progressviewfactory.start(progressviewfactory.java:46)     @ com.android.sdklib.internal.repository.updater.packageloader.loadremoteaddonslist(packageloader.java:432)     @ com.android.sdklib.internal.repository.updater.packageloader$1.run(packageloader.java:238)     @ com.android.sdkuilib.internal.tasks.progressview$2.run(progressview.java:130)     @ java.lang.thread.run(java.base@9-ubuntu/thread.java:843) caused by: java.lang.securityexception: can not initialize cryptographic mechanism     @ javax.crypto.jcesecurity.<clinit>(java.base@9-ubuntu/jcesecurity.java:91)     ... 40 more caused by: java.lang.nullpointerexception     @ sun.nio.fs.unixpath.normalizeandcheck(java.base@9-ubuntu/unixpath.java:75)     @ sun.nio.fs.unixpath.<init>(java.base@9-ubuntu/unixpath.java:69)     @ sun.nio.fs.unixfilesystem.getpath(java.base@9-ubuntu/unixfilesystem.java:280)     @ java.nio.file.paths.get(java.base@9-ubuntu/paths.java:84)     @ javax.crypto.jcesecurity.setupjurisdictionpolicies(java.base@9-ubuntu/jcesecurity.java:254)     @ javax.crypto.jcesecurity.access$000(java.base@9-ubuntu/jcesecurity.java:49)     @ javax.crypto.jcesecurity$1.run(java.base@9-ubuntu/jcesecurity.java:82)     @ javax.crypto.jcesecurity$1.run(java.base@9-ubuntu/jcesecurity.java:79)     @ java.security.accesscontroller.doprivileged(java.base@9-ubuntu/native method)     @ javax.crypto.jcesecurity.<clinit>(java.base@9-ubuntu/jcesecurity.java:78)     ... 40 more 


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User