Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: attribute android:localeConfig not found. #2

Open
LoveColaZero opened this issue Apr 23, 2022 · 3 comments
Open

error: attribute android:localeConfig not found. #2

LoveColaZero opened this issue Apr 23, 2022 · 3 comments

Comments

@LoveColaZero
Copy link

LoveColaZero commented Apr 23, 2022

 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

@ilya-kozyr
Copy link
Owner

ilya-kozyr commented Jun 8, 2022

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.

@janic0
Copy link

janic0 commented Sep 2, 2023

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
Copy link

janic0 commented Sep 2, 2023

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 iBotPeaches/Apktool#2756 and https://github.com/rlxone/android-https-patcher/pull/7/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants