Android Studio的Gradle的加速

#####Android Studio和Gradle加速运行

Gradle的速度在win下真心惨不忍睹,除了加大内存和上SSD,也可以试试如下方法。
1、修改 studio.xxx.vmoptions文件。
路径在C:\android-studio\bin安装目录下的bin文件夹下。

如图,扩大启动和运行的内存。

2、让Gradle离线运行
在Android Studio的setting中搜索Gradle,如图

Android Studio加速

Android Studio是个一个很好的的Android开发平台,但是却比Eclipse更加吃配置,以下的几个方法可以提速

  • 一次只打开一个工程
  • 每次运行过模拟器之后,清理一下工程
  • 使用真机代替模拟器
  • 使用一次模拟器之后不要关闭,每次使用同一个模拟器来运行软件
  • File->Settings->Plugins and disable the following things这个路径,把以下插件禁止了
    • 1.CVS Integration
      2.Git Integration
      3.GitHub
      4.Google Cloud Tools for Android Studio
      5.Subversion Integration

Comments

Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×