Created
July 5, 2024 09:19
-
-
Save wowkin2/659f6012893ba30a1e1999ebaab40e8b to your computer and use it in GitHub Desktop.
Decompile DEX files
This file contains 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
#!/bin/bash | |
# Before running make file executable: | |
# chmod +x decompile.sh | |
# And check Android SDK version (in this case it is - 33.0.1) | |
# Create directory | |
mkdir "decompiled" | |
# Find all files in root folder and decompile: | |
for filename in *.dex; do | |
echo "Processing file: $filename" | |
~/Library/Android/sdk/build-tools/33.0.1/dexdump "$filename" > "decompiled/$filename.java" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment