Apktool icon indicating copy to clipboard operation
Apktool copied to clipboard

[FEAT] Remove APKTOOL_DUMMY

Open pashamcr opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. Apktool creates a lot of unnecessary APKTOOL_DUMMY, which means nothing but empty space, but in the output file they take up space as dead weight.

Describe the solution you'd like Delete or comment out the code chunks that cause APKTOOL_DUMMY.

Additional context For example, apk https://www.apkmirror.com/apk/google-inc/gboard/gboard-10-9-03-387080390-release/gboard-the-google-keyboard-10-9-03-387080390-lite_release-arm64-v8a-android-apk-download/ aapt2 dump resources Gboard.apk > res.txt for three apks: original, re-compiled, and re-compiled using apktool without APKTOOL_DUMMY. Compare logs res.txt which one is closer to the original? In addition, the output file size increases : original 33.0 mb, output with APKTOOL_DUMMY 33.4 mb, without APKTOOL_DUMMY 33.1 mb res.txt res_dummy.txt res_nodummy.txt

pashamcr avatar Oct 18 '21 14:10 pashamcr

We tried this once and I was hesitant, maybe for 3.0. Marking as feature.

iBotPeaches avatar Nov 27 '21 12:11 iBotPeaches

I tried. Can you help me out in - site. I want to scrape apk from direct Play store.

Marrysmithgs avatar Mar 06 '22 11:03 Marrysmithgs