So we just set up our first emulator. 1
Now we're going to have a look at the tool called ADB Android Debug Bridge. 2
So this is a tool that's used to communicate between the host machine that you're working on and the 3
emulator or even the android device in the case that you're using an actual device during your analysis. 4
So say you're working on a Linux, Mac or Windows machine and you have an emulator running or you connect 5
your device through USB. 6
Then you can use ADB to communicate between the machine and the Android system. 7
Now ABD is part of Android SDK so in the case of Linux the location of the SDK is usually under your 8
home folder and inside you will see Android slash SDK. 9
Similarly in Windows it will be under your user drive then Android slash SDK. Here you will see a list 10
of directories and inside you'll see a directory called platform tools. 11
And that's where you find ADB so to run that you're going to run ADB and for example Shell so when 12
you run ADB shell it's going to take you to the shell of the Android device. 13
So just like that we're in the environment of the Android device so within the shell you can do common 14
Linux commands because as you know Android is based on Linux. 15
So for example you can do 'ls' and it will list all the files, you can change directory etc. 16
It's very similar to your Linux environment OK. 17
And then you can just click exit to go back to your system. 18
You can add ADB to your environment variables since this command will be used by many other tools. 19
We'll go into the details of the ADB and its functionality later on. 20
But here we just wanted to show that you don't really need to install it since it is part of the SDK. 21
Also it is good to know the location.