2015年10月24日
Android Studio: PANIC: HOME is defined but could not find
在Win7下, 因為將User目錄改到D槽所產生的問題. 使得AVD模擬器無法使用.
PANIC: HOME is defined but could not find Galaxy_Nexus_API_22.ini file in $HOME\.android\avd
(Note: avd is searched in the order of $ANDROID_AVD_HOME,$ANDROID_SDK_HOME\.android\avd and $HOME\.android\avd)
解決方式:
控制台->進階系統設定->進階->環境變數
新增
ANDROID_SDK_HOME = D:\Users\YourUserName\
訂閱:
張貼留言 (Atom)
coap-client 4.3.0 Windows build
coap-client is a wget -like tool to generate simple requests for retrieval and modification of resources on a remote server. Got the sour...
-
為了要測試重開機幾次會失敗, 寫了一個script來記算. 因為busybox的shell只提供了有限的功能, 不能像bash一樣宣告整數變數, 所以count的處理算比較麻煩. #!/bin/sh FILE = /etc/count timeout = 2 if ...
-
寫bash script時候, 用grep或awk取出來的值, 裡面還包含了一些non-printable的字; 作字串比對時, 就會一直出錯. 這時可以用 tr 這個指令移除看不到的字(如換行符號): # echo $VAR_WITH_NON_PRINT | tr -d &...
-
一般來說, 如果建立VPN後, 會把所有的網路封包轉到VPN Server上.如此client就可以access VPN server的網段,而且封包也會透過VPN Server的網段出去internet. 如果只想要去存取VPN Ser...
沒有留言:
張貼留言