zxlie / apkcal

用于Android APK文件中class、method、field、string数量的深度统计,尽早统计,尽早解决,尽早规避65536的风险!
83 stars 22 forks source link

Error: Unable to access jarfile ./baksmali-2.0.3.jar #2

Open fantouch opened 9 years ago

fantouch commented 9 years ago

从github下载zip,解压后运行脚本,得到以下错误

x:apkcal-master fantouch$ ./apkcal.sh type=class /Users/fantouch/Downloads/yy.apk 
开始进行此文件中【 class 数】的统计...
创建临时目录成功...
解压apk文件并提取dex文件成功...
Error: Unable to access jarfile ./baksmali-2.0.3.jar
反编译dex文件成功...

./apkcal.sh: line 122: dexdump: command not found
  all   : 

删除临时目录成功,统计完成!
x:apkcal-master fantouch$ 
tuzhao commented 8 years ago

你看看你是否是没有配置dx命令的路径? 比如:/user/android-sdk-linux/build-tools/23.0.3/dx