1.adb server is out of date.killing的解决办法:http://jingyan.baidu.com/article/d621e8da0dee022865913fce.html 2.GENYMOTION问题之an error occurred while deployi ...
分类:
其他好文 时间:
2016-08-12 15:20:11
阅读次数:
520
adb shell sync 写缓存命令——sync 在用reboot命令启动unix系统后,系统提示出错信息,部分应用程序不能正常工作。经仔细检查系统文件,并和初始的正确备份进行比较,发现某些文件确实被破坏了,翻来覆去找不到文件遭破坏的原因,最后想到了写缓存命令——sync,在reboot前没有运 ...
分类:
系统相关 时间:
2016-08-11 10:03:48
阅读次数:
2336
1.Android系统中启动框架 2.首先实现驱动程序 放入内核 drivers/char修改 drivers/char/Makefile,添加:obj-y += leds_4412.o 重新编译内核 或者将其编译成模块 执行 make后 用adb push 命令将其上传到开发板的/data/loc ...
分类:
其他好文 时间:
2016-08-11 00:52:57
阅读次数:
322
参数从Local中获取,例如:Local.ENGLISH; 使用之前应该root系统,adb shell ->su 然后# pm grant com.example.clickdemo android.permission.CHANGE_CONFIGURATION手动赋予权限,否则会报反射异常 ...
分类:
移动开发 时间:
2016-08-10 19:29:20
阅读次数:
237
先检查手机usb调试是否开启,已经开启还是连不上按照以下步骤操作: 1. 打开cmd,输入adb devices 查看设备是否连接 2.服务未启动,先杀掉服务:adb kill-server 3.启动adb服务,adb start-server 4.如果启动失败,可能是某个进程占用了adb的5037 ...
分类:
移动开发 时间:
2016-08-10 16:14:25
阅读次数:
219
来源: http://www.seejs.com/archives/296 目录 远程调试概述 使用 Chrome 的 ADB 扩展进行远程调试 1. 安装 ADB 扩展 2. 启用你的移动设备上的 USB 调试功能 3. 通过 USB 连接你的 PC 和移动设备 4. 开始使用 ADB 扩展进行调 ...
分类:
移动开发 时间:
2016-08-10 12:34:16
阅读次数:
217
1.cmd-->C:\Users\Administrator>adb start-serveradb server is out of date. killing...error: could not install *smartsocket* listener: cannot bind to 12 ...
分类:
移动开发 时间:
2016-08-06 21:47:21
阅读次数:
359
通过adb 查看最上层成activity名字: linux: adb shell dumpsys activity | grep "mFocusedActivity" windows: adb shell dumpsys activity | findstr "mFocusedActivity" 但 ...
分类:
数据库 时间:
2016-08-06 00:17:06
阅读次数:
314
adb命令做为电脑与手机(打开usb调试)的挑梁,位于sdk/platform-tools/adb.exe,为了便于使用可以将其配置在系统环境变量中。市场上手机助手,如手机豌豆荚,都有点击apk安装包,直接将软件安装到手机上。 这样的手机助手软件将adb.exe放在自己应用的安装路径下,通过adb命 ...
分类:
数据库 时间:
2016-08-05 15:49:46
阅读次数:
194
常用 Git 命令清单:http://www.ruanyifeng.com/blog/2015/12/git-cheat-sheet.html adb shell 命令详解:http://laughing1994zz.blog.163.com/blog/static/2641860192016752 ...
分类:
其他好文 时间:
2016-08-05 15:44:00
阅读次数:
128