赞
踩
最近想更新一下开发工具AS,就去官网Download Android Studio and SDK tools | Android Developers下载了4.0版本。
首页下载安装一切顺利,打开的的时候遇到了一点小问题,就是检测到我以往版本的配置,问我是否要导入,我选择了导入。
然后就打不开了,报错:Missing essential plugin: org.jetbrains.android Please reinstall Android Studio
原因就是我服用了之前的配置,kotlin插件的问题,需要改下配置文件。
我的在这个路径下:C:\Users\用户名\.AndroidStudio4.0\config,有博客说在这个路径下面:C:\Users\YourUserName\AppData\Roaming\Google\AndroidStudioPreview4.0\plugins
如果找不到可以搜索一下就是修改这个文件:
把里面的kotlin插件删除掉,应该org.jetbrains开头的,就可以了。
当然重新打开要编译以前的工程了,一般情况下网络正常都能编译通过的,编译出现问题的话可以考虑设置下代理:
- maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
- maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }
- maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' }
- maven { url 'https://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }
OK,正常运行项目后,给人感觉编译速度没什么改善。不过一些新功能还是很不错的,可以参考官网的说明:Download Android Studio and SDK tools | Android Developers
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。