昨日看到2.0正式版本的发行,索性下载,今日进行更新安装。
安装过程都很简单,按照提示卸载旧版本,将旧版本的配置文件导入新版本的配置文件。
在安装完成之后的运行过程中遇到了些问题。
Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try editing the distributionUrl in:
这个问题是因为更新前后的Gradle版本不同导致的,旧版本的Gradle已经被删除,而项目依旧是使用旧的路径,在设置中改一下Gradle就好了。
之后运行程序,又碰到了Error running app问题。似乎是新特性Instant Run出现了问题,按照提示将Enable ADB integration 打开就好。