android-ssl-pinning-bypass icon indicating copy to clipboard operation
android-ssl-pinning-bypass copied to clipboard

error: attribute android:localeConfig not found.

Open LoveColaZero opened this issue 3 years ago • 3 comments

 Using Apktool 2.6.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
W: C:\Program Files\Microvirt\MEmu\com.app_1.0.13.apk-decompiled\AndroidManifest.xml:13: error: attribute android:localeConfig not found.
W: error: failed processing manifest.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Jirkus\AppData\Local\Temp\brut_util_Jar_16086923759569500953624343672266716861.tmp, link, -o, C:\Users\Jirkus\AppData\Local\Temp\APKTOOL3665511037796386887.tmp, --package-id, 127, --min-sdk-version, 19, --target-sdk-version, 31, --version-code, 38, --version-name, 1.0.13, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, -e, C:\Users\Jirkus\AppData\Local\Temp\APKTOOL5088375278458652300.tmp, -0, arsc, -I, C:\Users\Jirkus\AppData\Local\apktool\framework\1.apk, --manifest, C:\Program Files\Microvirt\MEmu\com.app_1.0.13.apk-decompiled\AndroidManifest.xml, C:\Program Files\Microvirt\MEmu\com.app_1.0.13.apk-decompiled\build\resources.zip]
[rebuild.py:INFO] Signing the new .apk file
provided apk path or file 'C:\Program Files\Microvirt\MEmu\com.app_1.0.13.apk-patched.apk' does not exist
Run with '--debug' parameter to get additional information.

what does he want and how to fix it? app: https://dropmefiles.com/nxhEY

LoveColaZero avatar Apr 23 '22 09:04 LoveColaZero

Hey!

The script failed on the step of building a new .apk file. Try to move the source .apk file from C:\Program Files to e.g. Documents or Downloads directory as there might be issue with the access to Program Files.

If the issue is still exists, please, provide the entire console output.

ilya-kozyr avatar Jun 08 '22 12:06 ilya-kozyr

This seems to be an issue with apktool, rather than your script. I'm currently having the same issue, and a similar issue is raised when I build the apk myself with apktool. @air-igor, were you able to solve it?

janic0 avatar Sep 02 '23 14:09 janic0

This seems to be an issue with apktool, rather than your script. I'm currently having the same issue, and a similar issue is raised when I build the apk myself with apktool. @air-igor, were you able to solve it?

See https://github.com/iBotPeaches/Apktool/issues/2756 and https://github.com/rlxone/android-https-patcher/pull/7/files

janic0 avatar Sep 02 '23 15:09 janic0