减少Android staido 占用C 盘
2024-08-29 10:38:46
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 文件夹。
\Android\AndroidStudio\bin
进入文件: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
最新文章
- 【UISegmentedControl】-  分段控件
- RMQ 数据结构
- 调试多线程 &; 查死锁的bug &; gcore命令 &; gdb对多线程的调试 &; gcore &; pstack &; 调试常用命令
- Sizeof的计算看内存分配
- OC面向对象—封装
- SAP和Java系统的Webservice实例
- 使用Join代替In
- Python正则表达式一: 基本使用方法
- [034] 微信公众帐号开发教程第10篇-解析接口中的消息创建时间CreateTime(转)
- LeetCode :: Validate Binary Search Tree[具体分析]
- 内存四个领域,变量声明和定义,注册,c内联汇编,auto,堆,不变,静态变量
- 从MySQL全库备份中恢复某个库和某张表【转】
- thinkphp 使用插件异步上传图片或者文件
- ubuntu常用命令操作
- Java I/O最简单的几个类
- C#异步编程----Thread
- python基本操作
- asp.net Web API 身份验证 不记名令牌验证 Bearer Token Authentication 简单实现
- ahk保存
- nginx 502 bad gateway 问题处理集锦