体验了下阿里的weex,将项目导入到Android Studio时报了个错误:Error:Cause: peer not authenticated,官方给出的解释是:
Downloadinglicense-gradle-plugin.jarmay trigger errors, likeConnection reset or peer not authenticated. Maybe a network problem, try a proxy or VPN.
解决方法如下:
# rm -rf /etc/ssl/certs/java/cacerts
# /var/lib/dpkg/info/ca-certificates-java.postinst configure然后使用gradle Re-sync项目即可。