2021年4月9日星期五

How to update adb to v.39 or newer on Ubuntu?

I'm not very familiar with Ubuntu. Right now, I'm on adb version 1.0.32, I need adb version 39 or newer. Whatever I do I seem to be stuck at v.32 . I've tried uninstalling adb with

sudo apt-get remove android-tools-adb android-tools-fastboot  

and re-installing with

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

adb version is still showing 32. Help!

Update: I also tried

wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip  unzip \platform-tools-latest-linux.zip  sudo cp platform-tools/adb /usr/bin/adb  sudo cp platform-tools/fastboot /usr/bin/fastboot  

But after that, when I run adb version, I get -bash: /usr/bin/adb: cannot execute binary file: Exec format error

https://stackoverflow.com/questions/67027902/how-to-update-adb-to-v-39-or-newer-on-ubuntu April 10, 2021 at 04:31AM

没有评论:

发表评论