發表文章

目前顯示的是有「mac」標籤的文章

Build Android ICS on Mac OS 10.8

在mac上build Android需要一些"折騰",記錄一下收集來的資訊以及個人試驗的結果。 以 google docs 為準: Test environment Mac OS 10.8 Xcode 4.4 Homebrew 0.9.2 Android 4.1.1_r3 Set build environment create case-sensitive build environment 原因: default的OS X是 case-insensitive,Android會不給compile: http://source.android.com/source/initializing.html In a default installation, OS X runs on a case-preserving but case-insensitive filesystem. This type of filesystem is not supported by git and will cause some git commands (such as "git status") to behave abnormally. Because of this, we recommend that you always work with the AOSP source files on a case-sensitive filesystem. This can be done fairly easily using a disk image, discussed below. 解法: 用Disk Utility建立一個25GB的"case sensitive, journaled" DMG disk image 或是 You can also create it from a shell with the following command: hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 40g ~/android.dm...

Mac起步:常用軟體及設定

圖片
自從兩年前macbook壞了之後,因為公司有配notebook,所以就沒有買新的,最近又開始用mac了,跟以前有些微改變,記錄一下設定。 以 google docs 記錄為準: HotKey Global Default Define 螢幕截圖 1. Command + Shift + 3 2. Command + Shift + 4 直接刪除 Cmd + Del 鎖定螢幕 Ctrl + Shift + Eject mac air 沒有Eject鍵,可以用: 鑰匙圈存去 (Keychain) > 偏好設定 > 在選單顯示鑰匙圈狀態 然後再狀態列就可以鎖定螢幕 電腦休眠 Cmd + Opt + Eject 重開機 Ctrl + Cmd + Eject 隱藏app視窗 Cmd + h 可以用onyx把隱藏app的icon在dock變成半透明的 info Cmd + i Global User Define Spotlight Opt + Space HyperDock Ctrl + Opt + (↑、↓、 ←、→) float Ctrl + Cmd + a App Define Home, End page up, down Fn +  (↑、↓、 ←、→) Configuration 查詢保固 https://selfsolve.apple.com/agreementWarrantyDynamic.do apple care延長保固 http://iphone4.tw/forums/showthread.php?t=147251 重灌系統 http://kentxchang.blogspot.tw/2012/05/mac-lion.html http://www.macuknow.com/node/11826 http://www.macuknow.com/node/11912 按鍵重複 How to enable Key Repeat in Mac OS X Lion Terminal: defaults write -g ApplePressAndHoldEna...