Android 初学
来源:互联网 发布:发型设计软件破解版 编辑:程序博客网 时间:2024/09/21 08:57
1. adb用来安装、卸载软件,烧写、抓取log信息都工具。
2. 编译android源码时,lunch [目标序号|目标产品-目标版本] ,其中目标版本有user、userdebug、eng。
user 是指在user模式下编译,发布版本时选择此项进行编译,进adb shell,默认是$,即,没有权限删除手机中的固定软件;
userdebug 也是user模式,为你打印出kernel信息,用于调试,进adb shell,默认是$,即,没有权限删除手机中的固定软件;
eng 是engineer模式,即工程模式,进adb shell,默认是#,即,随便删除或卸载所有应用.
3. adb push 电脑路径 手机路径
user mode: system等权限为readonly,无法push文件到手机
userdebug mode: system等权限是打开的,可以push文件到手机
eng mode: system等权限是打开的,可以push文件到手机
如果在userdebug mode 无法 push文件,显示readonly,需要进行remount操作,具体如下:
adb root
adb remount
adb push filename /system/
4. 查看调试信息的方法:(1)通过debug工具和minicom查看
(2)通过adb shell cat /proc/kmesg 查看
0 0
- Android初学
- 初学Android
- 初学android
- 初学Android
- Android 初学
- android初学
- 初学android
- Android初学
- 初学Android
- Android 初学---Android架构
- 初学Android简单code
- Android初学笔记
- 初学Android的surfaceView
- 初学Android的误区
- 初学android 几点小常识
- Android 百度地图初学
- Android 初学JNI知识
- Android 百度地图初学
- MySql安装与配置
- 浅谈企业网站优化战略
- ubuntu下搭建c/c++环境步骤讲解
- 计算直方图1D
- easyui datagrid无数据时显示横向滚动条
- Android 初学
- ios开发资料汇总
- PHP strpos() 函数
- 斗地主(5)
- Gson 是 Google 提供的用来在 Java 对象和 JSON 数据之间进行映射的 Java 类库。可以将一个 JSON 字符串转成一个 Java 对象,或者反过来。
- svn 项目被锁定
- 使用IF NOT EXISTS创建数据表
- ETL利器Kettle实战应用解析系列一【Kettle使用介绍】
- Android开发之使用Intent传递对象