offensive-security / nethunter-LRT

The Nethunter Linux Root Toolkit is a collection of bash scripts which install Nethunter onto a supported device.
305 stars 95 forks source link

"We require adb but it's not installed/in path." #27

Open ABeater opened 7 years ago

ABeater commented 7 years ago

i installed adb and fastboot with android sdk on linux with this tutorial https://android.gadgethacks.com/how-to/android-basics-install-adb-fastboot-mac-linux-windows-0164225/ (Method 3) but i got this "error" (in the title) but i dont know what is meant with "path" ? i tried this tutorial http://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378 to do it in the path but the file .bash_profile was empty and it didnt work.....but not only this if i try to execute adb and fastboot with a shell command it is still not working....but i saw both installed in the ./nexustools file? so i dont know what to do? and what is this file: "gitgnore"?

tjt263 commented 6 years ago

This isn't really an issue with the script.

You have two main options:

  1. Add the directory containing adb to your $PATH.
  2. Move adb to a directory in your $PATH.

FYI: I keep mine here: /usr/local/bin/adb.