What we need?
- An Android Emulator or Real device.
- How to Connect to emulator or device?
- WiFi (May face to some bugs)(Not recommended)
- USB (This one is absolutely better)
- Android Studio
- SDK 30,31,32
- NDK
- Android SDK Command-Line Tools (ADB, fastboot)
- CMake
- Android Emulator
- Plugins
- Visual Stadio Code
- Plugins
- Smali Language Support
- APKLab
- JADx
- APKTool
- APKEditor
Note
To adding platform-tools to the system path:
vim ~/.zshrc
export PATH=$PATH:/home/app/Android/Sdk/platform-tools/:
# IN macOS /Users/hossein/Library/Android/sdk/platform-tools/
Note
To adding SDK-Tools to the system path:
vim ~/.zshrc
export PATH=$PATH:/home/app/Android/Sdk/build-tools/32.0.0/:
Note
To refresh you environment variable for current terminal:
source ~/.zshrc
What we can do with USB connection?
- Using Android Debug Bridge (ADB) or Java Debug Wire Protocol(JWDP)
- We can use GNU Project Debugger (GNU)