简体   繁体   中英

Android SDK Tools - Installation error

I tried to install the Android SDK however I have some problems. I have already downloaded and I have already installed Java JDK and JRE.

I tried to execute this command sdkmanager --list but I did not succeed. I´m getting the error:

Warning: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
Warning: Failed to download any source lists!

终奌站

My operating system is Linux Mint, I need help! Thank you!

It looks like you are attempting to connect to a SSL (HTTPS?) address somewhere inside your Java code, that's why it is showing Handshake Exception. If not try with path like $ANDROID_HOME/tools/bin/sdkmanager --list.

Check this link for more info

Just had the same problem on Ubuntu 18.04. sdkman solved it:

sdk install java 9.0.7-zulu
sdk use java 9.0.7-zulu

https://sdkman.io/

这不是Android问题,它与您的操作系统和/或SSL设置有关。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM