The following steps are required only if you want to build APKS:
Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install bundletool:
brew install bundletool
Install the development tools.
For Debian/Ubuntu:
sudo apt-get install build-essential
For Fedora/CentOS/RHEL:
sudo yum groupinstall "Development Tools"
For Arch/Artix/Manjaro:
sudo pacman -S base-devel
Install bundletool-all.jar if you want to build APKS, and make sure it is
available as bundletool
command. A quick way would be to create a file
bundletool
in /usr/local/bin
directory with the following content:
#!/usr/bin/env bash exec java -jar "/path/to/bundletool-all.jar" "$@"
Make sure to replace /path/to/bundletool-all.jar
with the actual path for
bundletool-all.jar. Also, make the file executable:
chmod +x /usr/local/bin/bundletool
Clone the repo along with submodules:
git clone --recurse-submodules https://github.com/MuntashirAkon/AppManager.git
You can use the --depth 1 argument if you don't want to clone past commits.
Open the project AppManager using Android Studio/IntelliJ IDEA. The IDE should start syncing automatically. It will also download all the necessary dependencies automatically provided you have a working network connection.
Build debug version of App Manager from Menu > Build > Make Project, or, from the terminal:
./gradlew packageDebugUniversalApk
The command will generate a universal APK instead of a bundled app.
To create a bundled app in APKS format, run the following command:
./scripts/aab_to_apks.sh type
Replace type
with release
or debug
based on your requirements.
It will ask for KeyStore credentials interactively.
The script above will also generate a universal APK.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。