安裝到一半會發生錯誤 錯誤訊息顯示 VT-X 沒有啟動
查詢 intel CPU 資料發現 i5 2410M 有支援 VT-X
但是在Acer BIOS 被閹割掉 沒有選項可以開關 VT-X
詢問Goolge 大師, 必須要刷BIOS 去開啟
有網友破解 BIOS unlock menu
鼓起勇氣刷下去 開啟 VT-x 依舊無法使用
繼續爬文 發現 AVAST 擋掉了
關掉這個選項, android 模擬器 快樂使用中!!!
功能
|
Windows
|
Mac
|
刪除整行
|
Ctrl + Y
|
Cmd + Delete
|
清除沒用import
|
Alt + Ctrl + O
|
Option +
Control + O
|
跳到目前變數宣告位置
|
Ctrl + B
or Ctrl + 滑鼠左鍵
|
|
程式架構
|
Ctrl + F12
|
Cmd + F12
|
尋找
|
Ctrl + F
|
Cmd + F
|
繼承架構圖
|
Ctrl + H
|
|
跳到警告位置
|
F2
|
|
把程式碼變註解 //
|
Ctrl + /
|
Cmd + /
|
把程式碼變註解 /* */
|
Ctrl + Shift
+ /
|
Cmd + Option +
/
|
取代
|
Ctrl + R
|
Cmd + R
|
縮排
|
Ctrl + Alt + L
|
Cmd + Option +
L
|
擴大縮小選取範圍
|
Ctrl + W/Ctrl
+ Shift + W
|
Option +
Up/Down
|
定位到字首/尾
|
Ctrl +
Left/Right
|
Cmd +
Left/Right
|
大小寫轉換
|
Ctrl + Shift +
U
|
Cmd + Shift +
U
|
跳行
|
Ctrl + G
|
Cmd + L |
最近開啟文件
|
Ctrl+E
|
|
最近編輯文件
|
Ctrl+Shift+E
|
|
search
everywhere
|
double Shift
|
|
全部尋找
|
Ctrl+Shift+R
|
|
列出目前class 的function和變數
|
Ctrl+O
|
|
回到上次修改處
|
Alt+←
|
|
到下一個修改處
|
Alt+→
|
|
Replace in path
|
Ctrl+Shift+R
|
|
Settings
|
Ctrl+Alt+S
|
|
| Project Structure |
Ctrl+Alt+Shift+S
|
|
快速加上If/For/While/try-catch
|
Ctrl+Alt+T
|
Command+option+T
|
function Sync() {
echo "sync $1"
p4 sync "@$1"
}
Sync
Date=$(date +%Y%m%d)
Time=$(date +%H%M%S)
if [ -d "$tar" ]
then
echo "$tar found."
else
mkdir "$tar"
fi
touch system/init/init.c m INIT_BOOTCHART=trueOn the emulator, use the new -bootchart <timeout> option to boot with bootcharting
adb shell 'echo $TIMEOUT > /data/bootchart-start'Where the value of $TIMEOUT corresponds to the wanted bootcharted period in seconds;
adb shell 'echo 120 > /data/bootchart-start'Reboot your device, bootcharting will begin and stop after the period you gave.
adb shell 'echo 1 > /data/bootchart-stop'Note that /data/bootchart-stop is deleted automatically by init at the end of the
adb shell rm /data/bootchart-start