##ANDROID DEVELOPMENT ENVIROMENT SETUP (Kali Nethunter)
$HOME/Android (Base folder)
$HOME/Android/StudioProjects (Proyects Folder)
$HOME/Android/Sdk (Sdk stuff)
$HOME/Android/Keys (Keys for signing the apk)
> (only needed for release not for debug) *You need your own keys
$HOME/Android/android-studio
> (android-studio-ide-xxxx-linux.zip has the android-studio/ folder inside)
Install Latest ORACLE JAVA 7 (as default) http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html Change 1.7.0_75 with downloaded version.
tar -xzvf /root/jdk-7u45-linux-x64.tar.gz
mv jdk1.7.0_45 /opt
cd /opt/jdk1.7.0_45
# this is to enable it as default (copy all the lines ;)
update-alternatives --install /usr/bin/java java /opt/jdk1.7.0_75/bin/java 1 && \
update-alternatives --install /usr/bin/javac javac /opt/jdk1.7.0_75/bin/javac 1 && \
update-alternatives --set java /opt/jdk1.7.0_75/bin/java && \
update-alternatives --set javac /opt/jdk1.7.0_75/bin/javac
Install lib32stdc++6
# this dependency is missing from kali default.
apt-get install lib32stdc++6
Download Android Studio: (Ide + SDK) https://developer.android.com/sdk/index.html
Decompress Inside:
$HOME/Android/ <(Drop android-studio/ folder inside the directory as is)
##First Run:
Open a terminal:
sh $HOME/Android/android-studio/bin/studio.sh
(That pops the setup dialog)
- Follow steps. (Sdk location on sdk folder...)
- Dont install any Emulator (AVD) (nethunter doesnt runs on them)