-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
Information
- Apktool Version (
apktool -version
) - 2.6.0 - Operating System (Mac, Linux, Windows) - Linux (Debian 11)
- APK From? (Playstore, ROM, Other) - Playstore
Stacktrace/Logcat
I: Using Apktool 2.6.0 on TP-Link Tether_3.4.28_apk-dl.com.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=0x000000ac
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x00000030
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x000000ac
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x00000030
W: Could not decode attr value, using undecoded value instead: ns=android, name=installLocation, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=compileSdkVersion, value=0x0000001d
W: Could not decode attr value, using undecoded value instead: ns=android, name=compileSdkVersionCodename, value=0x0000002e
W: Could not decode attr value, using undecoded value instead: ns=android, name=minSdkVersion, value=0x00000013
W: Could not decode attr value, using undecoded value instead: ns=android, name=targetSdkVersion, value=0x0000001d
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=maxSdkVersion, value=0x0000001c
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000004d
W: Could not decode attr value, using undecoded value instead: ns=android, name=maxSdkVersion, value=0x0000001c
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000004c
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000043
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000042
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000049
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000004b
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=name, value=0x00000048
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000045
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000046
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000005b
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x0000003a
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=name, value=0x00000040
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000041
W: Could not decode attr value, using undecoded value instead: ns=android, name=name, value=0x00000183
W: Could not decode attr value, using undecoded value instead: ns=android, name=value, value=0x00000036
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:1133)
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:140)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:109)
at brut.apktool.Main.cmdDecode(Main.java:175)
at brut.apktool.Main.main(Main.java:78)
Steps to Reproduce
apktool d TP-Link\ Tether_3.4.28_apk-dl.com.apk
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
)
N/A
APK
If this APK can be freely shared, please upload/attach a link to it.
Questions to ask before submission
- Have you tried
apktool d
,apktool b
without changing anything? - If you are trying to install a modified apk, did you resign it?
- Are you using the latest apktool version?