0

I tried to decompile my android app and follow this one: Is there a way to get the source code from an APK file?

When i tried to run d2j-dex2jar classes.dex It give error. nothing happed next

d2j-dex2jar : The term 'd2j-dex2jar' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ d2j-dex2jar classes.dex
+ ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (d2j-dex2jar:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Let me share the error;

I tried with both version dex-tools-2.1 and dex2jar-2.0 but not work.

Kirit
  • 1
  • 1
  • In my opinion the dex2jar approach causes more problems than directly decompiling dex code, this I do not recommend to use it. Try Jadx instead. – Robert Oct 29 '22 at 17:04

0 Answers0