专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > 数据库

Ubuntu10.4系统停使用android2.3的adb

发布时间:2010-05-20 14:01:29 文章来源:www.iduyao.cn 采编人员:星星草
Ubuntu10.4系统下使用android2.3的adb
1:下载SDK,解压缩成android-sdk-linux_86(android2.3)

2:将platform-tools下的adbcopy到tools下(如果tools下没有adb,则会造成adb不可用)

3:编辑~/.bashrc文件,在最后一行添加如下脚本:
export PATH=${PATH}:/home/archermind/android-sdk-linux_86/tools
export PATH=${PATH}:/home/archermind/android-sdk-linux_86/platform-tools

4:ADB function
Update the adb configuration to scan for freescale's pid:
Run the SDK's tools to generate a configure file:
在终端执行如下命令:
android-sdk-linux_86/tools/android update adb

5:Modify the files:~/.android/adb_usb.ini, to add freescale vendor id:
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x15a2

6:Create a new udev rule file under the PC's /etc/udev/rules.d/ named: imx-android.rules. And fill in the following line into the file:
SUBSYSTEM=="usb", SYSFS{idVendor}=="15a2", MODE="0666"

7:Change the new udev rule file's permission:
chmod a+r /etc/udev/rules.d/imx-android.rules

8:Connect the Android Device

9:Restart the adb server

10:adb kill-server

11:adb start-server


友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: