当前位置:   article > 正文

Android studio新版本 4.0安装和使用_android studio官网4.0版本

android studio官网4.0版本

最近想更新一下开发工具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开头的,就可以了。

当然重新打开要编译以前的工程了,一般情况下网络正常都能编译通过的,编译出现问题的话可以考虑设置下代理:

  1. maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
  2. maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }
  3. maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' }
  4. maven { url 'https://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }

 OK,正常运行项目后,给人感觉编译速度没什么改善。不过一些新功能还是很不错的,可以参考官网的说明:Download Android Studio and SDK tools  |  Android Developers

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/285350
推荐阅读
相关标签
  

闽ICP备14008679号