日本综合一区二区|亚洲中文天堂综合|日韩欧美自拍一区|男女精品天堂一区|欧美自拍第6页亚洲成人精品一区|亚洲黄色天堂一区二区成人|超碰91偷拍第一页|日韩av夜夜嗨中文字幕|久久蜜综合视频官网|精美人妻一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
Android模擬器應用技巧詳細介紹

如果我們想對Android操作系統(tǒng)進行相應改變的換,需要通過模擬器的應用來進行相關(guān)操作。在這里就先為大家介紹一下有關(guān)Android模擬器應用技巧,讓大家對這一模擬器有一個初步的認識。

創(chuàng)新互聯(lián)公司服務緊隨時代發(fā)展步伐,進行技術(shù)革新和技術(shù)進步,經(jīng)過十載的發(fā)展和積累,已經(jīng)匯集了一批資深網(wǎng)站策劃師、設計師、專業(yè)的網(wǎng)站實施團隊以及高素質(zhì)售后服務人員,并且完全形成了一套成熟的業(yè)務流程,能夠完全依照客戶要求對網(wǎng)站進行成都網(wǎng)站建設、成都網(wǎng)站制作、建設、維護、更新和改版,實現(xiàn)客戶網(wǎng)站對外宣傳展示的首要目的,并為客戶企業(yè)品牌互聯(lián)網(wǎng)化提供全面的解決方案。

1. 在Android模擬器上安裝和卸載APK包 

 
 
 
  1. adb install [-l] [-r] < file> - push this package 
    file to the device and install it   
  2. ('-l' means forward-lock the app) ('-r' means 
    reinstall the app, keeping its data)   
  3. adb uninstall [-k] < package> - remove this 
    app package from the device   
  4. ('-k' means keep the data and cache directories)  

安裝:

 
 
 
  1. adb install filename.apk   
  2. D:\android-sdk\tools>adb install filename.apk   
  3. * daemon not running. starting it now *   
  4. * daemon started successfully *   
  5. 347 KB/s (111196 bytes in 0.312s)   
  6. pkg: /data/local/tmp/filename.apk   
  7. Success  

卸載:

 
 
 
  1. adb uninstall filename.apk  

或者

 
 
 
  1. adb shell rm data/app/filename.apk  

2. 在Android模擬器上使用sd card 

生成sdcard鏡像文件:

 
 
 
  1. mksdcard: create a blank FAT32 image to be 
    used with the Android emulator   
  2. usage: mksdcard [-l label] < size> < file>   
  3. if < size> is a simple integer, 
    it specifies a size in bytes   
  4. if < size> is an integer followed by 'K', 
    it specifies a size in KiB   
  5. if < size> is an integer followed by 'M', 
    it specifies a size in MiB   
  6. D:\android-sdk\tools>mksdcard.exe -l 
    sdcard 2048M sdcard.img  

啟動模擬器:emulator -sdcard sdcard鏡像文件

例如: emulator -sdcard sdcard.img

將資源放入到sdcard里面: adb push source-file /sdcard

例如:

 
 
 
  1. D:\android-sdk\tools>adb push NOTICE.txt /sdcard   
  2. 1088 KB/s (156733 bytes in 0.140s)  

使用命令adb shell 查看sdcard目錄:

 
 
 
  1. D:\android-sdk\tools>adb shell   
  2. # ls sdcard   
  3. NOTICE.txt  

【編輯推薦】

  1. Android畫圖技巧應用方式分析 
  2. Android dialog應用經(jīng)驗總結(jié) 
  3. Android短信發(fā)送功能實現(xiàn)技巧分享 
  4. Android開機自啟動具體操作方法簡介 
  5. Android顯示網(wǎng)絡圖片相關(guān)實現(xiàn)方法淺談 

本文題目:Android模擬器應用技巧詳細介紹
標題鏈接:http://www.dlmjj.cn/article/dpsedeg.html