0 1 00:00:06,930 --> 00:00:09,250 So we just set up our first emulator. 1 2 00:00:09,300 --> 00:00:15,710 Now we're going to have a look at the tool called ADB Android Debug Bridge. 2 3 00:00:15,760 --> 00:00:20,830 So this is a tool that's used to communicate between the host machine that you're working on and the 3 4 00:00:20,830 --> 00:00:27,400 emulator or even the android device in the case that you're using an actual device during your analysis. 4 5 00:00:28,730 --> 00:00:35,300 So say you're working on a Linux, Mac or Windows machine and you have an emulator running or you connect 5 6 00:00:35,300 --> 00:00:37,080 your device through USB. 6 7 00:00:37,430 --> 00:00:41,930 Then you can use ADB to communicate between the machine and the Android system. 7 8 00:00:43,050 --> 00:00:51,420 Now ABD is part of Android SDK so in the case of Linux the location of the SDK is usually under your 8 9 00:00:51,420 --> 00:00:56,190 home folder and inside you will see Android slash SDK. 9 10 00:00:56,850 --> 00:01:04,840 Similarly in Windows it will be under your user drive then Android slash SDK. Here you will see a list 10 11 00:01:04,840 --> 00:01:10,050 of directories and inside you'll see a directory called platform tools. 11 12 00:01:10,180 --> 00:01:18,900 And that's where you find ADB so to run that you're going to run ADB and for example Shell so when 12 13 00:01:18,900 --> 00:01:24,240 you run ADB shell it's going to take you to the shell of the Android device. 13 14 00:01:24,240 --> 00:01:30,030 So just like that we're in the environment of the Android device so within the shell you can do common 14 15 00:01:30,030 --> 00:01:34,600 Linux commands because as you know Android is based on Linux. 15 16 00:01:34,660 --> 00:01:42,580 So for example you can do 'ls' and it will list all the files, you can change directory etc. 16 17 00:01:42,830 --> 00:01:46,600 It's very similar to your Linux environment OK. 17 18 00:01:46,640 --> 00:01:50,310 And then you can just click exit to go back to your system. 18 19 00:01:50,520 --> 00:01:57,710 You can add ADB to your environment variables since this command will be used by many other tools. 19 20 00:01:58,130 --> 00:02:02,160 We'll go into the details of the ADB and its functionality later on. 20 21 00:02:02,390 --> 00:02:08,390 But here we just wanted to show that you don't really need to install it since it is part of the SDK. 21 22 00:02:08,390 --> 00:02:10,040 Also it is good to know the location.