VirtualBox : Starts GenyMotion and gets an error.
-- Unable to load VirtualBox engine.
-- Make sure that you have installed it correctly before starting GenyMotion.
環境 :
VirtualBox - Version 4.2.18
GenyMotion - Version 1.2.1
狀況 : GenyMotion 無法啟動 -- VirtualBox 驅動失敗 , 可能未正確安裝.
處理 :
重新安裝 VirtualBox 都沒用.........
結果在 genymotion.log (在 GenyMotion 的安裝目錄下)看到下列兩行 :
九月 10 15:31:58 [Genymotion] [Debug] VBoxManage path (found in settings):
"F:\Program Files\Oracle\VirtualBox\/VBoxManage.exe"
九月 10 15:31:58 [Genymotion] [Debug] Can't run VBoxManage ("list", "hostonlyifs")
原來問題出在路徑錯誤 : 原本 VirtualBox 4.2.16 是安裝在 F:\ 下 ,
但是移除之後重新安裝 VirtualBox 4.2.18時是選在 D:\ , 雖然 GenyMotion 也是移除重裝而且
還手動刪除資料夾 , 但是 GenyMotion 還是讀取 F:\
最後將 VirtualBox 重新裝在 F:\ , GenyMotion 就可正常運作了.
記憶日誌
2013年9月26日 星期四
2013年9月4日 星期三
VirtualBox : 改變Android手機模擬器 GenyMotion 的虛擬硬碟目錄
VirtualBox : Version 4.2.16
GenyMotion : Version 1.1.0
預設目錄 :
Win Server 2003 :
Win-7 :
虛擬硬碟的目錄底下會有你安裝的虛擬裝置(virtual devices)資料夾!
Solution :
0. 先關閉 VirtualBox 及 GenyMotion 程式
1. 建立預備要放置虛擬硬碟的目錄 : ex. F:\VirtualBox\
2. 複製或移動上述的預設目錄( ... deployed\*.*)至新增的目錄 ==> F:\VirtualBox\deployed\
3. 修改 config files : VirtualBox.xml 及 VirtualBox.xml-prev
找到 node <MachineRegistry > <MachineEntry>
將你要變更位置的裝置的 src 值改為新的位置即可.
或者,
搜尋所有 "C:\Documents and Settings\(你的電腦帳號)\Local Settings\Application Data\Genymobile\Genymotion\deployed"
將其替換為你新建立的目錄, 例如我的就是 "F:\VirtualBox\deployed"
4. 儲存修改後的 config files , 重新開啟 VirtualBox
GenyMotion : Version 1.1.0
預設目錄 :
Win Server 2003 :
- 虛擬硬碟 : C:\Documents and Settings\(你的電腦帳號)\Local Settings\Application Data\Genymobile\Genymotion\deployed
- config files : C:\Documents and Settings\(你的電腦帳號)\.VirtualBox
Win-7 :
- 虛擬硬碟 : C:\Users\(你的電腦帳號)\AppData\Local\Genymobile\Genymotion\deployed
- config files :
虛擬硬碟的目錄底下會有你安裝的虛擬裝置(virtual devices)資料夾!
Solution :
0. 先關閉 VirtualBox 及 GenyMotion 程式
1. 建立預備要放置虛擬硬碟的目錄 : ex. F:\VirtualBox\
2. 複製或移動上述的預設目錄( ... deployed\*.*)至新增的目錄 ==> F:\VirtualBox\deployed\
3. 修改 config files : VirtualBox.xml 及 VirtualBox.xml-prev
找到 node <MachineRegistry > <MachineEntry>
將你要變更位置的裝置的 src 值改為新的位置即可.
或者,
搜尋所有 "C:\Documents and Settings\(你的電腦帳號)\Local Settings\Application Data\Genymobile\Genymotion\deployed"
將其替換為你新建立的目錄, 例如我的就是 "F:\VirtualBox\deployed"
4. 儲存修改後的 config files , 重新開啟 VirtualBox
標籤:
虛擬硬碟目錄,
GenyMotion,
VirtualBox
2011年6月29日 星期三
2011年6月14日 星期二
Flex : Flash Builder 4 的 Auto Import 功能
由於習慣在 NetBeans 中開發 Java 程式 , 使用 Auto Import 是家常便飯.
因此在寫 Flex 程式時, 自然會想用類似的功能 , 當然不熟悉 Flex 也增加了這樣的需求.
發現到右鍵功能表中的 Quick Fix (Ctrl + 1 ) , 卻沒有作用.
找到一些方法, 都結合了 auto completion :
1. new <space>
2. var <varName:>
但有時候是使用 copy & paste 的方式 , 或是 static 方法 , 例如 Alert.show , 所以並不方便.
手中按著 Ctrl +1 看著沒有反應的畫面 , 突然心血來潮 , Ctrl +Shift + 1 , Bingo~~
會跳出 auto completion 的選單 , 只要選取就會自動將對應的 import 加入.
雖然不能像 NetBeans可同時處理整個 class 的 import , 但這樣已經可以省很多事了.
References:
http://blogs.adobe.com/jasonsj/2010/09/in-depth-code-hints-and-auto-import.html
http://livedocs.adobe.com/flex/3/html/help.html?content=code_editor_3.html
因此在寫 Flex 程式時, 自然會想用類似的功能 , 當然不熟悉 Flex 也增加了這樣的需求.
發現到右鍵功能表中的 Quick Fix (Ctrl + 1 ) , 卻沒有作用.
找到一些方法, 都結合了 auto completion :
1. new <space>
2. var <varName:>
但有時候是使用 copy & paste 的方式 , 或是 static 方法 , 例如 Alert.show , 所以並不方便.
手中按著 Ctrl +1 看著沒有反應的畫面 , 突然心血來潮 , Ctrl +Shift + 1 , Bingo~~
會跳出 auto completion 的選單 , 只要選取就會自動將對應的 import 加入.
雖然不能像 NetBeans可同時處理整個 class 的 import , 但這樣已經可以省很多事了.
References:
http://blogs.adobe.com/jasonsj/2010/09/in-depth-code-hints-and-auto-import.html
http://livedocs.adobe.com/flex/3/html/help.html?content=code_editor_3.html
標籤:
Flash Builder 4,
Flex
訂閱:
文章 (Atom)