You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed on building resource on new Youtube apk: /decode/AndroidManifest.xml:110: error: No resource identifier found for attribute 'localeConfig' in package 'android'
#2948
Closed
kurokawaikki opened this issue
Nov 22, 2022
· 1 comment
Have you tried apktool d, apktool b without changing anything?
Yes, I tried. But if I use apktool to decode the apk without apk-mitm, the decoding itself is not working...... Error log is here:
I: Using Apktool 2.6.1 on y.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x5b5dedc0
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x00000036
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x5b5dedc0
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x00000036
W: Could not decode attr value, using undecoded value instead: ns=android, name=compileSdkVersion, value=0x00000021
W: Could not decode attr value, using undecoded value instead: ns=android, name=compileSdkVersionCodename, value=0x0000003e
W: Could not decode attr value, using undecoded value instead: ns=android, name=minSdkVersion, value=0x0000001a
W: Could not decode attr value, using undecoded value instead: ns=android, name=targetSdkVersion, value=0x00000021
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000ef
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000ec
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000ed
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000f0
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000eb
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000ee
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000069
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000096
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000096
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000096
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000096
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000b3
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000b4
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000f8
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000b5
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000b0
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000071
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000063
W: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x00000184
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000005c
W: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x00000184
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000006a
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000094
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000065
W: Could not decode attr value, using undecoded value instead: ns=android, name=mimeType, value=0x00000196
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000006a
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000006c
W: Could not decode attr value, using undecoded value instead: ns=android, name=scheme, value=0x00000180
W: Could not decode attr value, using undecoded value instead: ns=android, name=host, value=0x000001a1
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000096
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000081
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000078
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000079
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000093
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000088
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000089
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000008b
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000083
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000007e
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000082
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000008f
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000151
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000f6
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000092
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000085
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000007b
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000091
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000100
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000ff
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000167
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000007f
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000007d
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000090
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000008e
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000084
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000087
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000077
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000076
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000008c
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000008a
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000008d
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000080
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000017a
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000017b
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000178
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000179
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000017c
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000017d
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000086
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000004e
W: Could not decode attr value, using undecoded value instead: ns=android, name=required, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000053
W: Could not decode attr value, using undecoded value instead: ns=android, name=required, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000054
W: Could not decode attr value, using undecoded value instead: ns=android, name=required, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000052
W: Could not decode attr value, using undecoded value instead: ns=android, name=required, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000004f
W: Could not decode attr value, using undecoded value instead: ns=android, name=required, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000050
W: Could not decode attr value, using undecoded value instead: ns=android, name=required, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000051
W: Could not decode attr value, using undecoded value instead: ns=android, name=required, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000167
W: Could not decode attr value, using undecoded value instead: ns=android, name=protectionLevel, value=0x00000002
W: Could not decode attr value, using undecoded value instead: ns=android, name=glEsVersion, value=0x00020000
W: Could not decode attr value, using undecoded value instead: ns=android, name=required, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x7f150650
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f140163
W: Could not decode attr value, using undecoded value instead: ns=android, name=icon, value=0x7f110008
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000ba
W: Could not decode attr value, using undecoded value instead: ns=android, name=backupAgent, value=0x000000c9
W: Could not decode attr value, using undecoded value instead: ns=android, name=allowBackup, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=restoreAnyVersion, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=logo, value=0x7f0800b4
W: Could not decode attr value, using undecoded value instead: ns=android, name=hardwareAccelerated, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=largeHeap, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=supportsRtl, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=networkSecurityConfig, value=0x7f170012W: Could not decode attr value, using undecoded value instead: ns=android, name=roundIcon, value=0x7f11000a
W: Could not decode attr value, using undecoded value instead: ns=android, name=requestLegacyExternalStorage, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=localeConfig, value=0x7f170010
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000070
W: Could not decode attr value, using undecoded value instead: ns=android, name=value, value=0x40066666
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x000000f1
W: Could not decode attr value, using undecoded value instead: ns=android, name=value, value=0x0000003b
Exception in thread "main" java.lang.NullPointerException
at java.base/java.util.regex.Matcher.getTextLength(Matcher.java:1770)
at java.base/java.util.regex.Matcher.reset(Matcher.java:416)
at java.base/java.util.regex.Matcher.<init>(Matcher.java:253)
at java.base/java.util.regex.Pattern.matcher(Pattern.java:1134)
at brut.androlib.res.decoder.AndroidManifestResourceParser.isNumericStringMetadataAttributeValue(AndroidManifestResourceParser.java:56)
at brut.androlib.res.decoder.AndroidManifestResourceParser.getAttributeValue(AndroidManifestResourceParser.java:41)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267) at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:80)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:139)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:151)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:159)
at brut.androlib.res.AndrolibResources.decodeManifestWithResources(AndrolibResources.java:193)
at brut.androlib.Androlib.decodeManifestWithResources(Androlib.java:141)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:109)
at brut.apktool.Main.cmdDecode(Main.java:175)
at brut.apktool.Main.main(Main.java:79)
If you are trying to install a modified apk, did you resign it? Yes, I want to. But the building is failed.
Are you using the latest apktool version? yes
The text was updated successfully, but these errors were encountered:
Information
Stacktrace/Logcat
AAPT Fail Log
AAPT2 Fail Log
Steps to Reproduce
APK
If this APK can be freely shared, please upload/attach a link to it.
https://m.apkpure.com/youtube/com.google.android.youtube
Questions to ask before submission
Yes, I tried. But if I use apktool to decode the apk without apk-mitm, the decoding itself is not working...... Error log is here:
The text was updated successfully, but these errors were encountered: