Android studio新版本 4.0安装和使用
16lz
2021-01-23
最近想更新一下开发工具AS,就去官网https://developer.android.google.cn/studio下载了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 'http://maven.aliyun.com/nexus/content/groups/public/' } maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' } maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' } maven { url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }
OK,正常运行项目后,跟人感觉编译速度没什么改善。不过一些新功能还是很不错的,可以参考官网的说明:https://developer.android.google.cn/studio
更多相关文章
- android系统编译adt插件
- Unity 实现简单的语音聊天 [Android版本]
- Google 发布 Google Play Services 5.0版本
- Android SQLite数据库版本升级原理解析
- 下一版本的Android OS ——Jelly Bean
- 手把手教你:android调用系统相机、相册功能,适配6.0权限获取以及7.
- Android 监听U盘插入和拔出并获取U盘文件路径
- 重写Android Log的输出,只在debug的时候输出,release 的版本不输出
- Android版本28用http请求CLEARTEXT communication to www.xxxxx.