zoukankan      html  css  js  c++  java
  • 减少Android staido 占用C 盘

    1。gradle 更换文件夹:

    设置GRADLE_USER_HOME环境变量

    在/etc/profile或~/.bash_profile增加如下:
    export GRADLE_USER_HOME=D:/Cache/.gradle

    参考:
    http://blog.csdn.net/yanzi1225627/article/details/52024632

    2。android 配置文件夹的修改
    这个文件夹的配置有些不太一样,只能从默认的安装文件中去配置。首先进入你的 AndroidStudio 安装目录中的 Bin 文件夹。

    AndroidAndroidStudioin
    进入文件:idea.properties ,而后修改如下:

    # Use ${idea.home.path} macro to specify location relative to IDE installation home.
    # Use ${xxx} where xxx is any Java property (including defined in previous lines of this file) to refer to its value.
    # Note for Windows users: please make sure you're using forward slashes (e.g. c:/idea/system).
    
    #---------------------------------------------------------------------
    # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
    #---------------------------------------------------------------------
    idea.config.path=E:/android_stadio_temp/.AndroidStudio3.0/config
    
    #---------------------------------------------------------------------
    # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
    #---------------------------------------------------------------------
    idea.system.path=E:/android_stadio_temp/.AndroidStudio3.0/system
  • 相关阅读:
    02.替换空格 (Java)
    01.二维数组中的查找 (Java)
    css
    CSS Selectors
    Golang Singleton
    TL;DR
    go get
    golang string、int、int64 float 互相转换
    Thrift支持的基本数据类型
    双亲委派模型
  • 原文地址:https://www.cnblogs.com/caoxinyu/p/10568560.html
Copyright © 2011-2022 走看看