Last active
February 11, 2025 12:38
-
-
Save bmaupin/48140926ce11fbeddec2 to your computer and use it in GitHub Desktop.
Install apktool in Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ⚠ NOTE: if you're using the latest version of ubuntu, now you can just do: | |
# sudo apt install apktool | |
# Get latest version from https://bitbucket.org/iBotPeaches/apktool/downloads | |
export apktool_version=2.3.1 | |
sudo -E sh -c 'wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_$apktool_version.jar -O /usr/local/bin/apktool.jar' | |
sudo chmod +r /usr/local/bin/apktool.jar | |
sudo sh -c 'wget https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool -O /usr/local/bin/apktool' | |
sudo chmod +x /usr/local/bin/apktool | |
# To use: | |
# apktool d TelephonyProvider.apk -o TelephonyProvider |
thanks but when I run apktool, getting java error:
/usr/local/bin/apktool: line 77: exec: java: not found
Thanks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks bro