Skip to content

Commit

Permalink
add idea and macos env
Browse files Browse the repository at this point in the history
  • Loading branch information
Adams Xu committed Apr 10, 2012
1 parent 55e8f10 commit 52bbb4b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion _posts/2012-03-13-android-develop-tips.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -14,4 +14,13 @@ tags: [Android, Tips]


创建虚拟机的时候,记得勾选 Snapshot Enabaled 创建虚拟机的时候,记得勾选 Snapshot Enabaled
启动的时候,在Launch Options上勾选上Launch from snapshot 和 Save to snapshot 启动的时候,在Launch Options上勾选上Launch from snapshot 和 Save to snapshot
如果想保持虚拟机的环境不变,则在保存过一次之后,以后启动的时候,将 Save to snapshot勾选去掉。 如果想保持虚拟机的环境不变,则在保存过一次之后,以后启动的时候,将 Save to snapshot勾选去掉。
3. IDEA 在MacOS 不读取.bash_profile里面的信息。只能在/etc/launchd.conf 中设置。

setenv ANDROID_HOME /android/home

且需要重启机器。如果不想重启机器的话,则使用命令行

launchctl setenv ANDROID_HOME /android/home

重启IDEA即可。

0 comments on commit 52bbb4b

Please sign in to comment.