当我在 Ubuntu 18.04 上运行 react-native run-android
命令时,它显示 -
Exception in thread "main" javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
最佳答案
我运行了 sudo rm/etc/ssl/certs/java/cacerts
然后我运行了 sudo update-ca-certificates -f
。这解决了问题
关于android - Ubuntu 18.04 React Native 运行 Android javax.net.ssl.SSLException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50454564/