REAndroid / APKEditor

Powerful android apk editor - aapt/aapt2 independent
Apache License 2.0
645 stars 95 forks source link

Wrong Decompiled XML output on Android #76

Closed damylolae closed 8 months ago

damylolae commented 8 months ago

Describe the bug Using 1.3.2 hasn't been business as usual, after making minor changes to run the jar on Android I get a wrong XML output (digit).

To Reproduce Decompiling APK to xml

  1. Used version '1.3.2'
  2. Operating system 'Android 12.'
  3. Command Main.main(new String[] {"d","-f","-dex","-i",paths,"-o",outputdir}); Main.main(new String[] {"d","-f","-i",paths,"-o",outputdir}); '

Log/Stacktrace Screenshot_20231011-160918

Used apk file Same issues for all apks Attach/share your apk

*Additional context Add any other context about the problem here.

damylolae commented 8 months ago

Add -framework and the file path to an actual framework (you can check resource folder or framework folder of jar)argument to the command, though it will be great if APK Editor logs "unable to locate framework files".