[BUG] android:localeConfig in Manifest
See original GitHub issueInformation
- Apktool Version (
apktool -version
) -2.6.1 and older - Operating System (Mac, Linux, Windows) - Mac
- APK From? (Playstore, ROM, Other) - Playstore
Stacktrace/Logcat
Include stacktrace here
W: /xxx/BookmarkFolder_v5.0.5_129/res/xml/locales_config.xml:3: error: unbound prefix.
W: /xxx/BookmarkFolder_v5.0.5_129/res/xml/locales_config.xml: error: file failed to compile.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/sm/q39kpprx0175hypt_zz76qb00000gn/T/brut_util_Jar_70428711240655456118660710679018899199.tmp, compile, --dir, /xxx/BookmarkFolder_v5.0.5_129/res, --legacy, -o, /xxx/BookmarkFolder_v5.0.5_129/build/resources.zip]
### Steps to Reproduce
1. `apktool -advance b -d -p /Applications/Tools/TelefonApps/MyApkTool.app/Contents/Resources/framework/ --use-aapt2 '/xxx/BookmarkFolder_v5.0.5_129/'
### Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(`.apks` that live in `/system/framework` or `/system/priv-app`)
### APK
If this APK can be freely shared, please upload/attach a link to it.
BookmarkFolder_v5.0.5_129.apk
### Questions to ask before submission
1. Have you tried `apktool d`, `apktool b` without changing anything? yes
2. If you are trying to install a modified apk, did you resign it? not possible
3. Are you using the latest apktool version? yes tried also older versions
Error file : /xxx/BookmarkFolder_v5.0.5_129/res/xml/locales_config.xml
W: /xxx/BookmarkFolder_v5.0.5_129/res/xml/locales_config.xml:3: error: unbound prefix.
<?xml version="1.0" encoding="utf-8"?>
<locale-config>
<locale android:name="ca" />
<locale android:name="da" />
<locale android:name="fa" />
....
</locale-config>
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:19 (4 by maintainers)
Top Results From Across the Web
Android locale_config.xml Unbound Prefix Error - Stack Overflow
I am currently pentesting an Android app. I decompiled the app without any issues and whenever I try to recompile it back, the...
Read more >LocaleConfig - Android Developers
The LocaleConfig of an application. Defined in an XML resource file with an <locale-config> element and referenced in the manifest via android:localeConfig ......
Read more >Missing localeConfig attribute in merged manifest [245673005]
Problem description. When the android:localeConfig attribute is set in a library project then it is not included in the merged AndroidManifest.
Read more >Untitled
Usually this means you have forgotten to include it in the locale config file. ... <manifest xmlns:android="http://schemas.android.com/apk/res/android" ...
Read more >AndroidManifest.xml:19: error: No resource identifier found for ...
'See this link for for more information: http://www.basic4ppc.com/forum/showthread.php?p=78136 AddManifestText( <uses-sdk android:minSdkVersion= ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have encounter a same problem with this app … https://play.google.com/store/apps/details?id=org.hostedgames.zexsh
Its a split and problem with base.apk …
For now , It can be fixed by following the steps below… delete file
\res\xml\locales_config.xml
open file\res\values\public.xml
and delete line<public type="xml" name="locales_config" id="0x7f110003" />
open fileAndroidManifest.xml
and delete declarationandroid:localeConfig="@xml/locales_config"
Will be really happy if this issue solves in next update 😃
update internal framework to API 33 (Tiramisu Privacy Preview) has solved this problem. No further action needed