Apktool: Exception in thread "main" brut.androlib.AndrolibException: Multiple res specs: attr/name

Original issue 785 created by sh37092 on 2015-03-17T03:26:48.000Z:

What steps will reproduce the problem? 1.Decode mobileqq_android.apk 2. 3.

What is the expected output? What do you see instead? I: Using Apktool 2.0.0-RC4 on mobileqq_android.apk I: Loading resource table…

Exception in thread "main" brut.androlib.AndrolibException: Multiple res specs: attr/name
    at brut.androlib.res.data.ResType.addResSpec(ResType.java:58)
    at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:213)
    at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:188)
    at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:156)
    at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:113)
    at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:78)
    at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
    at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:622)
    at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:73)
    at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:65)
    at brut.androlib.Androlib.getResTable(Androlib.java:63)
    at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:209)
    at brut.androlib.ApkDecoder.decode(ApkDecoder.java:92)
    at brut.apktool.Main.cmdDecode(Main.java:165)
    at brut.apktool.Main.main(Main.java:81)

What version of the product are you using? On what operating system? Apktool 2.0.0-RC4 on MacOSX with Java 1.8_40

Please provide any additional information below. You can download mobileqq_android.apk from http://down.myapp.com/myapp/qqteam/AndroidQQ/mobileqq_android.apk

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 23 (9 by maintainers)

Commits related to this issue

Most upvoted comments

@iBotPeaches Giving you another ping on this one. 😃

met same issue