我如何使用Eclipse或亚行推动文件拖到Android设备(NexusS)? [英] How I can push file onto Android Device (NexusS) using eclipse or adb?
问题描述
的说明的
我试图 一键文件(.so库)到Android设备(三星NexusS)的 系统\\ LIB
使用Eclipse文件夹中。但是,当我preSS 按文件到设备上的出现了错误:
[2011-06-24 15时41分21秒]未能推
选择:只读文件系统
块引用>的研究的
要解决这个问题,我通过互联网搜索和发现一些文章和文档,但没有帮助我,这里有一些文章和文档,我都试过了。
<一个href=\"http://androidforums.com/droid-all-things-root/91799-read-only-file-system-when-trying-adb-push-app.html\"相对=nofollow> 只读试图ADB当推一个App <文件系统/ EM>
下面的用户建议写
亚行外壳sysrw
,但是当我一个权限被拒绝错误出现了:
sysrw:许可被拒绝。
块引用>
下面对Android开发者论坛,我发现的您可以使用adb命令推拉将文件复制到并从模拟器/设备实例的数据文件。不像install命令,只拷贝了。 apk文件到特定位置,推拉命令,让你随心所欲的目录和文件复制到任何位置在模拟器/设备实例。的
我也尝试运行
亚行重新装入
命令,但出现了相同的权限错误:
重新挂载:许可被拒绝。
块引用>的问题的
的 如何,我可以使用Eclipse或亚行推动文件拖到Android设备(NexusS)?的
解决方案好吧,我已经做了我设备的生根和文件推到它。
要根你的Android Nexus S的设备检查的 如何获得root和恢复的Nexus S于Windoes 7 的 。
做到这一点之后:$ ADB壳
#mount -o重新装入,RW -t YAFFS2的/ dev /块/ mtdblock3 /系统
#cat(你想要的文件)GT; (目标路径)这就是所有!
Description
I'm trying to Push file (.so library) onto Android Device (Samsung NexusS)
"system\lib"
folder using Eclipse. But when I press "Push a file onto the device" an error appears:[2011-06-24 15:41:21] Failed to push selection: Read-only file system
Researches
To solve this problem I search through internet and find some articles and documentations, but nothing helps me, here are some articles and documentations which I have tried.
Read-Only File System" when trying to ADB Push an App
Here users suggest to write
adb shell sysrw
, but when I an permission denied error appeared:sysrw: permission denied
Copying Files to or from an Emulator/Device Instance
Here on Android Developers Forum I found "You can use the adb commands pull and push to copy files to and from an emulator/device instance's data file. Unlike the install command, which only copies an .apk file to a specific location, the pull and push commands let you copy arbitrary directories and files to any location in an emulator/device instance."
I also try to run
adb remount
command, but same permission error appeared:remount: permission denied
Question
How I can push file onto Android Device (NexusS) using eclipse or adb ?
解决方案Okay I have done rooting of my device and push files into it.
To root your Android Nexus S device check How to get root and recovery for Nexus S on Windoes 7. After do this:
$adb shell #mount -o remount, rw -t yaffs2 /dev/block/mtdblock3 /system #cat (file which you want) > (destination path)
Thats All !
这篇关于我如何使用Eclipse或亚行推动文件拖到Android设备(NexusS)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!