AndroidDecompiler
AndroidDecompiler copied to clipboard
decompileAPK.sh: command not found
as the title see,how can solve the problem. i was in the AndroidDecompiler-master file folder,then i run decompileAPK.sh -p xx.apk. the bash show me===> -bash: decompileAPK.sh: command not found.
try chmod +x decompileAPK.sh first
I try chmod +x decompileAPK.sh first,but it did not work. bash: yangchuandeMBP:AndroidDecompiler better$ pwd /Users/better/decompiler/AndroidDecompiler yangchuandeMBP:AndroidDecompiler better$ ls LICENSE boo.apk jd-core-java README.md decompileAPK.sh releaseAPKDecompiler.sh apktool dex2jar astyle files yangchuandeMBP:AndroidDecompiler better$ chmod +x decompileAPK.sh yangchuandeMBP:AndroidDecompiler better$ decompileAPK.sh -p boo.apk -bash: decompileAPK.sh: command not found
It looks like you're using bash. There is a known issue here. Try chsh sh or adding the fix in the outstanding pull request here.
it can't work.
chmod a+x decompileAPK.sh ./decompileAPK.sh -p APK-File
It can work on Mac(I use zsh) And It's nothing to do with https://github.com/dirkvranckaert/AndroidDecompiler/pull/6/commits/6b400e5e9d7cfc2f1c256c621130db409be8cbf1