Apktool icon indicating copy to clipboard operation
Apktool copied to clipboard

Implement automatic resource resolution

Open kosovo0275 opened this issue 1 year ago • 1 comments
trafficstars

kosovo0275 avatar Apr 19 '24 18:04 kosovo0275

@kosovo0275

dpi@ubuntu:~$ java -jar apktool-cli.jar b app_arm64-v8a app_arm64-v8a_mod.apk
I: Using Apktool 2.10.0-dirty with 20 thread(s).
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes3 folder into classes3.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes4 folder into classes4.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes5 folder into classes5.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes6 folder into classes6.dex...
I: Checking whether resources has changed...
I: Building resources...
W: /home/dpi/app_arm64-v8a/res/layout-land/APKTOOL_DUMMYVAL_0x7f0e004c.xml:7: error: not well-formed (invalid token).
W: /home/dpi/app_arm64-v8a/res/layout-land/APKTOOL_DUMMYVAL_0x7f0e004c.xml: error: file failed to compile.
W: /home/dpi/app_arm64-v8a/res/layout/APKTOOL_DUMMYVAL_0x7f0e004b.xml:22: error: not well-formed (invalid token).
W: /home/dpi/app_arm64-v8a/res/layout/APKTOOL_DUMMYVAL_0x7f0e004b.xml: error: file failed to compile.
W: /home/dpi/app_arm64-v8a/res/layout/APKTOOL_DUMMYVAL_0x7f0e004c.xml:7: error: not well-formed (invalid token).
W: /home/dpi/app_arm64-v8a/res/layout/APKTOOL_DUMMYVAL_0x7f0e004c.xml: error: file failed to compile.
W: /home/dpi/app_arm64-v8a/res/layout/APKTOOL_DUMMYVAL_0x7f0e0b70.xml:2: error: not well-formed (invalid token).
W: /home/dpi/app_arm64-v8a/res/layout/APKTOOL_DUMMYVAL_0x7f0e0b70.xml: error: file failed to compile.
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_21395298060234331251324167065958333960.tmp, compile, --dir, /home/dpi/app_arm64-v8a/res, --legacy, -o, /home/dpi/app_arm64-v8a/build/resources.zip]
shouldn't happen: null
shouldn't happen: null
shouldn't happen: null
shouldn't happen: null
shouldn't happen: null
shouldn't happen: null
app_arm64-v8a/smali_classes5/X/8uL.smali[1,0] required (...)+ loop did not match anything at input ''
app_arm64-v8a/smali_classes4/X/4fn.smali[1,0] required (...)+ loop did not match anything at input ''
app_arm64-v8a/smali_classes3/X/3YQ.smali[1,0] required (...)+ loop did not match anything at input ''

Any ideas how to bypass this obfuscation ? Thanks

brunoaduarte avatar Jul 17 '24 21:07 brunoaduarte