diff --git a/apk-anal.py b/apk-anal.py index 09e5824..792bad6 100644 --- a/apk-anal.py +++ b/apk-anal.py @@ -206,7 +206,7 @@ def print_results(analysis_results,messages,r2p): if not apktool: apktool = args.apktool -if not apktool or not os.path.isfile(apktool): +if (not apktool or not os.path.isfile(apktool)) and not args.dex: print("[!] Apktool not found. Please adjust path in script or provide it with --apktool") exit(1)