簡體   English   中英

在 Eclipse 中將文件推送到 Android Emulator 時出錯

[英]Error while pushing file into Android Emulator in Eclipse

我正在嘗試將 CSV 文件推送到 android 中的模擬器。 但由於以下錯誤,我無法推送文件。 有沒有人有這個問題的解決方案? 請分步說明。 提前致謝。

[2014-04-10 14:47:57 - ddms] 傳輸錯誤:只讀文件系統 [2014-04-10 14:47:57] 無法推送選擇:只讀文件系統

對於Windows

就去

C:\\Documents and Settings\\<adminstrator>\\.android\\avd

獲取 avd 文件夾的“屬性”(每個 avd 都有一個文件夾)

uncheck 'Read only' -> OK

對於Linux

在終端中轉到 sdk/platform-tools 目錄(以訪問 adb shell),然后鍵入以下命令:

./adb shell

su

mount -o rw,remount rootfs /

chmod 777 /mnt/sdcard

然后輸入“ exit ”退出 adb shell。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM