本文因內容較長,分成4頁顯示:
|
四、Android模擬器也支援平板哦!
既然是官方版的Android模擬器,想必也一定有支援平板的模擬器,找了半天沒有直接的設定,那要怎麼才能產生Android 4.0平板電腦模擬器呢?其實也不是很難啦!只要在建立Android Virtual Device(AVD)時多兩個動作。
- Skin : 不要點選「Built-in」預設的螢幕解析度模擬大小,改選用「Resolution」來自訂解析度,並在旁邊輸入1024與768(或1280與800)。
- Hardware:修改「Abstracted LCD density」項目的為 160。
出現建立AVD的參數顯示,請再次確定「Abstracted LCD density」的值是否為160,無誤後按下「OK」。
點選剛建立的平板AVD虛擬裝置,按下「Start」來啟動虛擬裝置。
一樣會出現啟動前的「Launch Options」對話視窗,此時請勾選「Scale display to real size」,並在其下的「Screen Size (in):」旁邊的欄位上,填入想要模擬的平板實際尺寸(一般為7~10吋),由於LKK的我視力不佳,所以稍微加大一下設為12吋,最後按下「Launch」來啟動。
果然出現了平板的畫面,不過沒有虛擬按鍵與虛擬鍵盤,完全靠滑鼠來運作,還真有點不習慣。
【共筆作者】:挨踢路人甲
|
###
回報,要加入MOTODEV才能下載ICS_R1這個檔案
請問大大
已操作至按「Start」來啟動虛擬裝置
出現一個視窗顯示
PANIC: Could not open AVD config file: C:\Users\.android\avd\DesireHD.avd/config.ini
就沒動靜了
請問接著如何處理呢
謝謝
給有安裝JDK卻沒找到java.exe的人:
Find JDK Installation Directory
First you need to know the installation path for the Java Development Kit.
Open the default installation path for the Java Development Kit
C:\Program Files\Java
There should be a subdirectory like
C:\Program Files\Java\jre7
Set the JAVA_HOME Variable
Once you have the JDK installation path:
Right-click the My Computer icon on
your desktop and select Properties.
Click the Advanced tab. Click the
Environment Variables button. Under System Variables, click New.
Enter the variable name as JAVA_HOME.
Enter the variable value as the installation path for the Java Development Kit.
Click OK.
Click Apply Changes.
You might need to restart windows.
請問點擊Launch後 產生虛擬裝置約要多少時間?
在建立平板AVD虛擬裝置時出現以下訊息
Failed to allocate memory: 8
請問會是哪裡不對? Thanks,
android的sdk下載的方式變了,而且檔案是zip的!
我執行Launch時出現”Starting emulator for AVD ‘AVD_for_Galaxy_Nexus_by_Google’
NAND: could not write file H:\Temp\\AndroidEmulator\TMP6F5.tmp, No space left on device”訊息,請問是哪裡有問題?
我照你說的都用好了 但是我開了之後就黑頻 沒有像你的有APP在上面