Android常用shell指令收集
一、basecmd
1、挂载文件系统:mount-oremount/dev/block/mtdblock0/system
2、拷贝文件:cp/storage/emulated/legacy/a.apk/system/app/a.apk
3、启动指定APP:adbshellamstart-ncom.test.shellsample/com.test.shellsample.MainActivity
4、修改文件夹及子目录权限:chmod-R777data
二、studio
1、装箱打包生成APK:gradlewassemble
三、AndroidWear
1、手表通过手机与电脑连接:
adbforwardtcp:2222localabstract:/adb-hub
adbconnectlocalhost:2222
adb-slocalhost:2222shell
2、修改手表输入法设置:
adb-slocalhost:2222shellimeenablecn.hangood.hangoodkeyboard/.HangoodIME
adb-slocalhost:2222shellimesetcn.hangood.hangoodkeyboard/.HangoodIME
相关推荐
86377814 2019-06-18
fcihpy 2019-03-10
houweizhifu 2019-03-10
chinaycheng 2017-05-02
蓝牙模块 2017-03-30
学习交流可以加0 2016-11-06
过时不侯的温暖 2016-11-02
hushijiao 2016-10-22
whoandyou 2016-07-19
chinaycheng 2015-12-09
XxZproject 2015-06-15
WatchKit开发 2015-05-20
许子华 2014-09-14
Pineapple 2014-09-09
cyd 2017-03-26
ChainDestiny 2017-05-06
tonghe 2014-12-29
黄刚的技术 2017-02-10
kingkax 2018-02-17