add_dex_files_to_zip failing because of prefix
1ex opened this issue · comments
Alex commented
I tried to use deodexer.py via command line and it gives this exception Found unknown file in dex dir: for every single apk.
I did some debug on script and figured out that this line cause issue:
Line 175 in 89db6e6
it cause fail inside add_dex_files_to_zip
function
This condition will always fail
Line 137 in 89db6e6
for example i am deodexing Settings.apk then :
p.name = "Settings_classes.dex"
and
prefix = "Settings.apk_"
which is always failing
P.S.
removing + '.apk_'
from this line
Line 175 in 89db6e6
makes fix for me