Skip to content
Browse files

add idea and macos env

  • Loading branch information...
1 parent 55e8f10 commit 52bbb4b947b2141c4450e7968f80a1924e223719 Adams Xu committed Apr 10, 2012
Showing with 10 additions and 1 deletion.
  1. +10 −1 _posts/2012-03-13-android-develop-tips.md
View
11 _posts/2012-03-13-android-develop-tips.md
@@ -14,4 +14,13 @@ tags: [Android, Tips]
创建虚拟机的时候,记得勾选 Snapshot Enabaled
启动的时候,在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.
Something went wrong with that request. Please try again.