往 /system/lib添加so檔案

來源:互聯網
上載者:User

As android developer, if you use the following command like:

adb push file /system/..

and meet problems like “failed to copy file to /system/…”, such as:

failed to copy ‘file’ to ‘/system/…’: No space left on device
failed to copy ‘file’ to ‘/system/…’: Out of memory

The resolve method is not using the Eclipse or AVD Manager to start the Android emulator, but by use the command first:

$emulator -avd youravdname -partition-size 128

Then you can try the command “adb push file /system/…”, and the problem maybe resolved.
 
 
 先啟動AVD (我叫做 first)  然後 執行 “adb push file /system/…”,  報錯 read-only file 。
 執行命令 adb remount  輸出 remount successed  再次執行 “adb push file /system/…” 報錯 Out of memory
 執行命令  emulator -avd youravdname -partition-size 128   無輸出 然後 系統自動再啟動一個新的                   AVD  (second)。
 
   關閉first  再 second 下執行 “adb push file /system/…”  報錯 read-only file
  再執行命令 adb remount 輸出 remount successed     再執行 “adb push file /system/…”  
  成功了 看到 檔案傳輸速度哦

作者“jiguansheng”
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.