A Windows batch script for installing Android APK files on a connected device using adb
and aapt
.
This script automates the process of installing APKs on an Android device. It's useful for developers who need to install multiple APKs frequently and for those who require frequent backups restoration. The script uses adb
and aapt
from the Android SDK to install APKs that aren't already on the device.
- Android Debug Bridge (adb)
- Android Asset Packaging Tool (aapt)
Download both from the Android developer website.
- Connect your Android device to your computer.
- Enable USB debugging on your device.
- Copy the
install.bat
script to the directory containing the APK files you want to install. - Double click the
install.bat
file. - Follow the instruction
OR
- Open a command prompt and navigate to the directory containing the APK files and the
install.bat
script. - Run the script with the following command:
install.bat
#When prompted, enter the full path to the directory that contains aapt.exe.
We welcome contributions to this project! Here's how you can help:
- Fork this repository.
- Create a new branch in your forked repository.
- Make your changes in the new branch.
- Submit a pull request from the new branch in your forked repository to the main branch in this repository.
We'll review your pull request and merge it if everything looks good.
This project is licensed under the MIT License.