标签:apk sub mode nbsp device 问题 exit file 方法
解决办法:
1. 最简单的,adb remount
2. 不行的话,adb shell su之后将文件系统remount为读写权限: mount -o remount rw /system。出于安全考虑,记得完事后remount回只读: mount -o ro,remount /system
3. 和方法2类似,mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
使用root权限来启动adb server:
sudo –s
adb kill-server
adb start-server
exit
adb shell
如果还是不行:
lsusb
Bus 001 Device 010: ID 0bb4:0c87 High Tech Computer Corp
$sudo vim /etc/udev/rules.d/70-android.rules
加入以下内容: SUBSYSTEM=="usb",ATTRS{idVendor}=="0bb4",ATTRS{idProduct}=="0c87",MODE="0666"
Adb logcat
Sudo -s
Adb kill-server
Adb start-server
卸载内置应用:
adb remount
cd system/app
rm xxx.apk
修改Log.isLoggable形式的日志打印开关级别:
adb shell里面敲setprop log.tag.Mms VERBOSE
标签:apk sub mode nbsp device 问题 exit file 方法
原文地址:http://www.cnblogs.com/wolflzc/p/6178786.html