Andriod ubuntu 14.04 adb的安装和配置, fastboot的安装

本文介绍了在Ubuntu 14.04上安装和配置Android的ADB及Fastboot的详细步骤。首先通过apt-get安装相关工具,解决无法定位adb包的问题。接着,通过lsusb命令识别Android设备并配置adb_usb.ini文件,确保设备能被正确识别。最后,在/etc/udev/rules.d/创建70-android.rules文件,重启adb完成配置。
摘要由CSDN通过智能技术生成

1. 安装adb和fastboot

    sudo apt-get install android-tools-adb android-tools-fastboot android-tools-adbd

   结果:Unable to locate package adb

    那就还需要一些步骤:

 sudo add-apt-repository ppa:phablet-team/tools
 sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
 sudo apt-get update 
 sudo apt-get install android-tools-adb
 sudo apt-get install android-tools-adbd
 sudo apt-get install android-tools-fastboot 

     这样就可以正常的将adb 与 fastboot安装成功。

2.  adb配置

    设备连接pc,确保连接完好。

    使用lsusb, 查看一下,连接到pc的usb设备,如果不能确定哪一个是你的设备,就将设备从pc上拔下来,再次使用lsusb命令查看,将两次的lsusb的输出结果进行对比,就可将android设备的usb信息准确无误的去顶出来,如下图:

      

     如果~

What is this? This is All-in-One installer for 3 most needed PC tools for Android. No need to download big SDK for 3 small things. I originaly made it for my Kurdish friend AnGrY DuDe in early 2013. I saw another ADB installer on XDA, but it wasn't good enough for me so i'm finaly posting it here. It's very small and fast installer for tools and drivers. Features: Small - 9.18 MB Fast - 15 seconds install (many times its even less) AIO - ADB, Fastboot and also Drivers Easy to install - just run it and program will guide you Clean - ADB and Google Drivers from latest SDK Install process: 1. Run it (Require administrator privileges) 2. Press Y/Yes to install ADB and Fastboot or N/No to skip 3. Press Y/Yes to install ADB system-wide or N/No for current user only 4. Press Y/Yes to install Drivers or N/No to skip 5. Continue Driver installation 6. 15 seconds passed - finished! Notes: System-wide: ADB and Fastboot are installed to %SystemDrive%\adb directory, and added system-wide path. Current user only: ADB and Fastboot are installed to %UserProfile%\adb directory, and added path for current user. CMD can use ADB and Fastboot from any directory. Drivers are installed to system - no need to install them from directories. Installer automaticly decides if install 32-bit or 64-bit drivers. If anybody got problem with detecting device, go see picture guide howto_driver.zip If installation fails, then post here contents of "adb-installer.log" from desktop. (if there is any) If you have problem with driver enumeration in Windows 8.1 install update KB2917929 If you have older Google USB Driver installed, please uninstall it from Control Panel before installing new If you have previously installed it as system-wide and now you want it current user only (or vice-versa), it won't remove it, you must do it yourself. (at least for now)
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值