本文介紹了將圖片上傳到模擬器庫的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
我想在模擬器的圖庫中添加圖片.但我無法做到這一點.這個怎么做?任何線索!雖然我已經完成了在 stack over flow 中發布的答案,但沒有獲得成功.
I want to add picture in emulator's gallery. But i am not able to do this. How to do this? any clue! Though i have gone through a answer posted in stack over flow but didn't get success with that answer.
推薦答案
檢查 this 一旦你的模擬器中有一個虛擬 SD 卡,如果你對 mtools
不滿意,或者你不知道如何在 Linux 上掛載環回設備(這真的很簡單順便說一句),只需使用 adb push
上傳您的圖片.可能的例子:
Check this Once you have a virtual SD card in your emulator, if you're not comfortable with mtools
or if you don't know how to mount a loopback device on Linux (which is really easy by the way), just use adb push
to upload your images. Possible example:
adb shell mkdir /sdcard/Pictures
adb push mypic.jpg /sdcard/Pictures
這篇關于將圖片上傳到模擬器庫的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!