摘要:
遇到的问题是zhanglanyun@zhanglanyun:~$ adb push hello /data/hellofailed to copy 'hello' to '/data/hello': Permission denied然后查找资料,运行命令如下# adb shel# su#mount# mountrootfs / rootfs ro 0 0tmpfs /dev tmpfs rw,mode=755 0 0devpts /dev/pts devpts rw,mode=600 0 0proc /proc proc rw 0 0sysfs /sys sy 阅读全文
摘要:
读sdk帮助文档的时候,发现sdk已经提供了说明。使用这种方式就可以避免adb pull下来的文件权限为root。 详见:docs/guide/developing/device.html If you're developing on Ubuntu Linux, you need to add a rules file that contains a USB configuration for each type of device you want to use for development. Each device manufacturer uses a different v 阅读全文