python反编译apk文件

python3反编译apk文件

import os

#apk path
apkPath = input('Please input Apk file path:')

#output file path
outPath = (apkPath.split('.')[0]+'New')

#use apktool
cmd = 'apktool d -f '+apkPath+' -o '+outPath
print('--------Start Working with apktool--------')
os.system(cmd)
print('-----------------------------\nwork all done,output file in:\n'
      +outPath+'\n-----------------------------')
os.system('pause')

你可能感兴趣的:(AndroidRE)