Tuesday 23 August 2016

Install android sdk (adb and fastboot) on kali linux.




many users now using debian (ubuntu, kali).
for android development on kali linux you will need to install android sdk.

today i will explain how to install android sdk on kali,

 if you want to install only adb and fastboot(without whole android sdk) then follow this link

Method 1:

1. First download android sdk by following command:

wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz

2. Extract package:

 tar -xvf android-sdk_r24.2-linux.tgz

3. Change Directory:

cd android-sdk-linux/tools


4.  install sdk package:
  ./android update sdk --no-ui

5. set sdk path:


export PATH=${PATH}:/usr/share/android-sdk/tools:/usr/share/android-sdk/platform-tools










Method 2:(Easy and command line)

1.  apt-get install android-sdk

it will take some time to download and install whole android sdk,




Install adb and fastboot(without whole sdk) on kali/ubuntu.

To install adb and fastboot without installing whole android sdk on kali you need to follow these step:

  • open terminal 
  • type:
  • apt-get install android-tools-adb android-tools-fastboot

it will install adb and fastboot on your debian system

for working properly adb and fastboot make sure your system have proper repositories installed.

if you have problem running adb and fastboot then tryt o install ib32stdc++6 by following command:

apt-get install lib32stdc++6 lib32z1 lib32z1-dev
 
 
 
it will solve your problem.