Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't upgrade from adb version 1.0.29

Tags:

android

adb

I'm trying to interface my nexus 7 with my linux mint machine. The device always shows as offline. I understand that this problem comes from having an adb older than 1.0.31. I keep installing the platform tools rev 21.1 which as of last month is the newest version which should install adb 1.0.31, but every time I run the command 'adb version' it comes back saying it is version 1.0.29. Is there another way to get it to upgrade?

like image 972
user2045139 Avatar asked Mar 09 '13 00:03

user2045139


People also ask

How do I check adb version?

Download ADB and FastbootVisit the SDK Platform Tools download page to find the latest version of ADB and fastboot.

How do I install the latest version of adb?

adb is included in the Android SDK Platform-Tools package. You can download this package with the SDK Manager, which installs it at android_sdk /platform-tools/ . Or if you want the standalone Android SDK Platform-Tools package, you can download it here.

What is the latest version of adb?

29.0.3 (September 2019) adb forward --list works with multiple devices connected.


2 Answers

This solved this problem (running old adb) on Ubuntu:

  1. unplug device
  2. adb kill-server
  3. adb version
    • Android Debug Bridge version 1.0.29
  4. cd to android sdk dir
    • cd /home/XXX/adt-bundle-linux-x86_64/sdk/platform-tools/
  5. copy new adb to /usr/bin
    • sudo cp adb /usr/bin/
  6. adb version
    • Android Debug Bridge version 1.0.31
  7. adb kill-server
  8. adb devices
    • daemon not running. starting it now on port 5037 *
    • daemon started successfully * List of devices attached
  9. plug in the device, and on the device dialog about RSA appeared
  10. accept on device
  11. adb devices
    • List of devices attached
    • 04cefca0e29085aa device
like image 94
CoPLaS Avatar answered Sep 25 '22 10:09

CoPLaS


Answer for Windows:

You need to check where's your latest driver located and put this value in PATH system variable. To do so:

  1. Open Android SDK Manager (Android Studio/Tools/Android/SDK Manager; or from Eclipse).

  2. In the top left corner (just under menu) you'll see "SDK Path". This is where latest driver located.

  3. Open Control Panel\System and Security\System, click on "Advanced system settings", find button "Enviroment Variables...".

  4. Find the PATH variable in the list (check both lists). Find the old platrorm-tools path. Replace the old path to new onreplace what you have there to SDK Path + "platform-tools" (example "c:\Android2013\sdk\platform-tools").

like image 31
Mike Keskinov Avatar answered Sep 25 '22 10:09

Mike Keskinov