Emulator 模擬器安裝 apk 程式 及從SD card 上下傳檔案


 

a.  安裝APK檔案到 Android Emulator 模擬器執行

>    adb  install  ***.apk      (選擇檔案所在位置資料夾)

adb.exe 放置 /tools  或  /platform-tools

 

b. 向模擬器emulator 傳送文件

>   adb push   ***.txt    /tmp/***.txt

 

c. 配置 sd card 給模擬器emulator 

>1. 開啟 AVD Manager.exe 

  2. 選取AVD NAME 填入 sd容量  

 

201200109201200110 

 填入 SD CARD  SIZE  512M

201200111    

 

 

 emulator  畫面 , 顯示SDcard Total SPACE  512M

  

201200112  

 


 

d.向模擬器emulator sd card 傳送文件 OR 透過 DDMS 傳送檔案

> adb push ***.txt  /sdcard

 

e. 從模擬器emulator sd card 下載文件

>adb pull    /***.txt   ***.txt  

 

 

 

arrow
arrow

    賈雷 發表在 痞客邦 留言(0) 人氣()