按文本文件转换成Android模拟器 [英] Push text file into android Emulator

查看:157
本文介绍了按文本文件转换成Android模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要把一个文本文件导入Android模拟器中的位置SD卡。我试着用DDMS
并参照这个视频: http://www.youtube.com/watch?v=ipRke1P4rIc 。但推后它不是在模拟器展示。这是为什么?请帮我。


解决方案

  

错误是只读文件系统的传输错误。请帮我家伙。如何梳理出来?


看来你是推,你没有写访问的文件。因此,在更改权限,像这样

 亚行外壳

安装-o RW,重新挂载根文件系统/
搭配chmod 777的/ mnt / SD卡

I need to push a text file into android emulator in location SD card. I tried using DDMS and referring this video: http://www.youtube.com/watch?v=ipRke1P4rIc. But after pushing its not showing in emulator. why is that? Please help me.

解决方案

Error is transfer Error read only file system. Please help me guys. How to sort it out?

It seems you are pushing the file where you don't have write access. So you change the permission like so

adb shell
su 
mount -o rw,remount rootfs / 
chmod 777 /mnt/sdcard 

这篇关于按文本文件转换成Android模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆