命令列運行android模擬器

來源:互聯網
上載者:User

標籤:android   io   ar   for   sp   div   on   art   bs   

建立模擬器

  1. android create avd --name avd_4.1 --target "android-16" --abi armeabi-v7a  
  2. Android 4.1 is a basic Android platform.  
  3. Do you wish to create a custom hardware profile [no]     
  4. Created AVD ‘avd_4.1‘ based on Android 4.1, ARM (armeabi-v7a) processor,  
  5. with the following hardware config:  
  6. hw.lcd.density=240  
  7. vm.heapSize=48  
  8. hw.ramSize=512  



運行模擬器

  1. emulator -avd "avd_4.1"  
  2. 2012-10-28 13:47:12.086 emulator-arm[1069:1107] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.  
  3. emulator: emulator window was out of view and was recentered  



安裝apk到模擬器

  1. adb install ./bin/AntTest-debug.apk   
  2. 82 KB/s (37443 bytes in 0.442s)  
  3. pkg: /data/local/tmp/AntTest-debug.apk  
  4. Success  



卸載apk

  1. adb uninstall com.doodoobird.anttest  
  2. Success  

 

命令列運行android模擬器

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.