在使用Jetpack架构Room创建数据库时出现编译错误,如下:
Received close_notify during handshake
解决方法:
在build.gradle中进行以下操作
注释部分 // jcenter()
替换为以下代码:
maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }
maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
sync之后可正常编译运行。