repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
ibotpeachesapktool
bug build fail with android enableonbackinvokedcallback not find
Bug
information 1 apktool version apktool 2 7 0 2 operating system window 3 apk from other stacktrace logcat I use apktool 2 7 0 I smale smali folder into class dex I smale smali classes2 folder into classes2 dex I build resource w d investigation resign0413 test decode2 7 0 androidmanif xml 39 error attribute android enableonbackinvokedcallback not find step to reproduce 1 get an apk whose androidmanifest xml contain android enableonbackinvokedcallback opt predictive attribute 2 apktool decode to decode it 3 apktool build to rebuild it other note enableonbackinvokedcallback be an attribute introduce with android sdk version 33 try to modify apktool yml and make it targetsdkversion 33 but same error persist apk the apk can not be share question to ask before submission 1 have you try apktool d apktool b without change anything yes same error happen at build time 4 if you be try to install a modify apk do you resign it not there yet apktool fail to rebuild 5 be you use the late apktool version yes
ibotpeachesapktool
bug the incoming yaml document exceed the limit 3145728 code point
Bug
information 1 apktool version apktool version 2 7 0 2 operating system mac linux window window 3 apk from playstore rom other other stacktrace logcat I use apktool 2 7 0 exception in thread main org yaml snakeyaml error yamlexception the incoming yaml document exceed the limit 3145728 code point at org yaml snakeyaml scanner scannerimpl fetchmoretoken scannerimpl java 335 at org yaml snakeyaml scanner scannerimpl checktoken scannerimpl java 256 at org yaml snakeyaml parser parserimpl parseindentlesssequenceentrykey produce parserimpl java 597 at org yaml snakeyaml parser parserimpl peekevent parserimpl java 171 at org yaml snakeyaml comment commenteventscollector 1 peek commenteventscollector java 57 at org yaml snakeyaml comment commenteventscollector 1 peek commenteventscollector java 43 at org yaml snakeyaml comment commenteventscollector collectevent commenteventscollector java 136 at org yaml snakeyaml comment commenteventscollector collectevent commenteventscollector java 116 at org yaml snakeyaml composer composer composescalarnode composer java 221 at org yaml snakeyaml composer composer composenode composer java 190 at org yaml snakeyaml composer composer composesequencenode composer java 252 at org yaml snakeyaml composer composer composenode composer java 192 at org yaml snakeyaml composer composer composevaluenode composer java 321 at org yaml snakeyaml composer composer composemappingchildren composer java 312 at org yaml snakeyaml composer composer composemappingnode composer java 293 at org yaml snakeyaml composer composer composenode composer java 194 at org yaml snakeyaml composer composer getnode composer java 116 at org yaml snakeyaml composer composer getsinglenode composer java 142 at org yaml snakeyaml constructor baseconstructor getsingledata baseconstructor java 155 at org yaml snakeyaml yaml loadfromreader yaml java 477 at org yaml snakeyaml yaml loadas yaml java 470 at brut androlib meta metainfo load metainfo java 70 at brut androlib androlib readmetafile androlib java 280 at brut androlib androlib build androlib java 294 at brut androlib androlib build androlib java 287 at brut apktool main cmdbuild main java 263 at brut apktool main main main java 82 step to reproduce 1 apktool d 2 apktool b this bug can t be reproduce on 2 6 1 framework n a apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 be you use the late apktool version yes
ibotpeachesapktool
bug decode fail with could not decode arsc file
Bug
information 1 apktool version apktool version 2 7 0 2 operating system mac linux window window 10 3 apk from playstore rom other direct download from author site stacktrace logcat java jar apktool 2 7 0 jar f decode android li arm64 v8a prod v6 15 0 offical apk I use apktool 2 7 0 on android li arm64 v8a prod v6 15 0 offical apk I load resource table exception in thread main brut androlib androlibexception could not decode arsc file at brut androlib re decoder arscdecoder decode arscdecoder java 56 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 780 at brut androlib re androlibresource loadmainpkg androlibresource java 64 at brut androlib re androlibresource getrestable androlibresource java 56 at brut androlib androlib getrestable androlib java 74 at brut androlib apkdecoder getrestable apkdecoder java 251 at brut androlib apkdecoder decode apkdecoder java 109 at brut apktool main cmddecode main java 175 at brut apktool main main main java 79 cause by java io ioexception expect 0x001c0001 get 0x4b545353 at brut util extdatainput skipcheckchunktypeint extdatainput java 72 at brut androlib re decoder stringblock read stringblock java 42 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 79 at brut androlib re decoder arscdecoder decode arscdecoder java 51 8 more step to reproduce 1 apktool decode framework I don t know apk question to ask before submission 1 have you try apktool d apktool b without change anything 2 if you be try to install a modify apk do you resign it 3 be you use the late apktool version
ibotpeachesapktool
bug androidmanif xml be miss attribute when decode apk
Bug
information 1 apktool version apktool version 2 7 0 2 operating system mac linux windows macos monterey 12 0 1 3 apk from playstore rom other stacktrace logcat I use apktool 2 7 0 on all4 apk I load resource table I decode androidmanif xml with resource I load resource table from file user mehdi library apktool framework 1 apk I regular manifest package fatal error 4 22 element type use permission must be follow by either attribute specification or I decode file resource I decode value xmls I baksmale class dex I baksmale classes2 dex I baksmale classes3 dex I copy asset and lib I copy unknown file I copy original file I copy meta inf service directory step to reproduce 1 download all 4 app from apkpure or any other source 2 rename apk to all4 apk for ease 3 run java jar apktool 2 7 0 jar decode all4 apk o all4 decode only main class 4 open decoded folder and open androidmanif xml 5 observe that attribute be miss from certain tag screenshot 2023 01 18 at 16 06 45 framework n a apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it n a not an installation issue 3 be you use the late apktool version yes
ibotpeachesapktool
bug resource not find try to recompile with no change
Bug
information 1 apktool version 2 7 0 2 operating system window 3 apk from playstore when try to de recompile gboard with no change error message indicate that some resource that be reference in the xmls be not find I assume declare judging by the name of the reference resource it appear that the name be obfuscate that s fine I don t need the original name but I see that the actual resource it s complain about with the obfuscate name doesn t exist in the relevant xml where it need to be declare for example i d 0 resource name obfuscate which should be declare in ids xml just isn t there stacktrace logcat c user home android apktool d f gboard126 apk o c user home android gboard126 I use apktool 2 7 0 on gboard126 apk I load resource table I decode androidmanif xml with resource I load resource table from file c user home appdata local apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls I baksmale class dex I baksmale classes2 dex I baksmale classes3 dex I copy asset and lib I copy unknown file I copy original file I copy meta inf service directory c user home android apktool b f use aapt2 d gboard126 I framework instal to c user home appdata local apktool framework 1 apk I use apktool 2 7 0 I smale smali folder into class dex I smale smali classes2 folder into classes2 dex I smale smali classes3 folder into classes3 dex I build resource I use aapt2 set debuggable attribute to true in androidmanifest xml w c user home android gboard126 re value attrs xml 632 error resource i d 0 resource name obfuscate aka com google android inputmethod latin i d 0 resource name obfuscate not find w c user home android gboard126 re value attrs xml 1876 error resource i d 0 resource name obfuscate aka com google android inputmethod latin i d 0 resource name obfuscate not find w c user home android gboard126 re value dimen xml 43 error resource diman 0 resource name obfuscate aka com google android inputmethod latin dimen 0 resource name obfuscate not find w c user home android gboard126 re value style xml 926 error resource font 0 resource name obfuscate aka com google android inputmethod latin font 0 resource name obfuscate not find w c user home android gboard126 re value style xml 926 error resource font 0 resource name obfuscate aka com google android inputmethod latin font 0 resource name obfuscate not find w c user home android gboard126 re value style xml 1204 error resource font 0 resource name obfuscate aka com google android inputmethod latin font 0 resource name obfuscate not find w c user home android gboard126 re value style xml 1204 error resource font 0 resource name obfuscate aka com google android inputmethod latin font 0 resource name obfuscate not find w c user home android gboard126 re value style xml 2406 error resource diman 0 resource name obfuscate aka com google android inputmethod latin dimen 0 resource name obfuscate not find w c user home android gboard126 re value style xml 2407 error resource diman 0 resource name obfuscate aka com google android inputmethod latin dimen 0 resource name obfuscate not find w c user home android gboard126 re value style xml 2406 error resource diman 0 resource name obfuscate aka com google android inputmethod latin dimen 0 resource name obfuscate not find w c user home android gboard126 re value style xml 2407 error resource diman 0 resource name obfuscate aka com google android inputmethod latin dimen 0 resource name obfuscate not find w c user home android gboard126 re value style xml 4172 error resource attr 0 resource name obfuscate aka com google android inputmethod latin attr 0 resource name obfuscate not find w c user home android gboard126 re value style xml 4173 error resource attr 0 resource name obfuscate aka com google android inputmethod latin attr 0 resource name obfuscate not find w c user home android gboard126 re value style xml 4172 error resource attr 0 resource name obfuscate aka com google android inputmethod latin attr 0 resource name obfuscate not find w c user home android gboard126 re value style xml 4173 error resource attr 0 resource name obfuscate aka com google android inputmethod latin attr 0 resource name obfuscate not find w c user home android gboard126 re value style xml 4285 error resource attr 0 resource name obfuscate aka com google android inputmethod latin attr 0 resource name obfuscate not find w c user home android gboard126 re value style xml 4286 error resource attr 0 resource name obfuscate aka com google android inputmethod latin attr 0 resource name obfuscate not find w c user home android gboard126 re value style xml 4285 error resource attr 0 resource name obfuscate aka com google android inputmethod latin attr 0 resource name obfuscate not find w c user home android gboard126 re value style xml 4286 error resource attr 0 resource name obfuscate aka com google android inputmethod latin attr 0 resource name obfuscate not find w c user home android gboard126 re value style xml 5428 error style attribute attr 0 resource name obfuscate aka com google android inputmethod latin attr 0 resource name obfuscate not find brut androlib androlibexception brut common brutexception could not exec exit code 1 c user itayna 1 appdata local temp brut util jar 39724244080885536784648859253930036022 tmp link o c user itayna 1 appdata local temp apktool7747251418954349550 tmp package i d 127 min sdk version 23 target sdk version 33 version code 102451614 version name 12 6 02 491625702 beta arm64 v8a no auto version no version vector no version transition no resource dedupe allow reserve package i d e c user itayna 1 appdata local temp apktool4362795320748915216 tmp 0 arsc I c user home appdata local apktool framework 1 apk manif c user home android gboard126 androidmanif xml c user home android gboard126 build resource zip unknown error step to reproduce 1 decompile use apktool 2 recompile with no change I use aapt2 framework n a apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 3 if you be try to install a modify apk do you resign it n a 4 be you use the late apktool version yes
ibotpeachesapktool
bug resource decode error brut androlib androlibexception config size 28
Bug
information 1 apktool version apktool version 2 7 0 2 operating system mac linux window window 3 apk from playstore rom other other stacktrace logcat n a nothing be be run on android device only try to decompile on window step to reproduce 1 apktool bat d sygic v22 5 6 2158 b211220506 arm64 v8a k userupload net apk I use apktool 2 7 0 on sygic v22 5 6 2158 b211220506 arm64 v8a k userupload net apk I load resource table exception in thread main brut androlib androlibexception config size 28 at brut androlib re decoder arscdecoder readconfigflag arscdecoder java 414 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 268 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 224 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 133 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 85 at brut androlib re decoder arscdecoder decode arscdecoder java 51 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 780 at brut androlib re androlibresource loadmainpkg androlibresource java 64 at brut androlib re androlibresource getrestable androlibresource java 56 at brut androlib androlib getrestable androlib java 74 at brut androlib apkdecoder getrestable apkdecoder java 251 at brut androlib apkdecoder decode apkdecoder java 109 at brut apktool main cmddecode main java 175 at brut apktool main main main java 79 framework n a nothing be be run on android device only try to decompile on windows apk link in the thread to the apk sygic v22 5 6 2158 b211220506 arm64 v8a k apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 4 if you be try to install a modify apk do you resign it I be not try to install the apk only decompile it 5 be you use the late apktool version yes other note decompiling source without decompile resource work fine apktool bat r d sygic v22 5 6 2158 b211220506 arm64 v8a k userupload net apk if I open the apk with archiving software like 7 zip it show a strange structure there be normal file androidmanif xml class dex resource arsc but additionally it have folder with the same androidmanif xml class dex resource arsc name these folder appear to contain file which I would normally expect to see inside the re folder image image image image I suspect this apk might have be alter in some way to prevent modification
ibotpeachesapktool
bug element type manifest must be follow by either attribute
Bug
information 1 apktool version 2 7 0 2 operating system linux window 3 apk from playstore stacktrace logcat window c user ferna apktool d f base apk I use apktool 2 7 0 on base apk I load resource table I decode androidmanif xml with resource I load resource table from file c user ferna appdata local apktool framework 1 apk I regular manifest package fatal error 2 39 element type manifest must be follow by either attribute specification or I decode file resource I decode value xmls I baksmale class dex I baksmale classes2 dex I baksmale classes3 dex I copy asset and lib I copy unknown file I copy original file I copy meta inf service directory linux root desktop ql83d43 mnt c user ferna apktool d f base apk I use apktool 2 7 0 on base apk I load resource table I decode androidmanif xml with resource I load resource table from file root local share apktool framework 1 apk I regular manifest package fatal error 2 39 element type manifest must be follow by either attribute specification or step to reproduce 1 apktool d f base apk apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it n a 3 be you use the late apktool version yes base zip
ibotpeachesapktool
bug whatsapp since version 2 22 23 15 can not be decompile properly
Bug
information 1 apktool version 2 6 1 2 operating system window 3 apk from 4 apk from 5 before version 2 22 23 15 decompiling work 6 since version 2 22 23 15 this issue occur stacktrace logcat include stacktrace here I use apktool 2 6 1 on whatsapp messenger 2 22 24 18 apk I load resource table I decode androidmanif xml with resource I load resource table from file c user appdata local apktool framework 1 apk I regular manifest package I decode file resource s could not decode file replace by false value cr xml s could not decode file replace by false value cg8 xml s could not decode file replace by false value ckr xml s could not decode file replace by false value bh5 png s could not decode file replace by false value l0 png s could not decode file replace by false value og png s could not decode file replace by false value vn png s could not decode file replace by false value lc png s could not decode file replace by false value b0r png s could not decode file replace by false value bbd 9 png s could not decode file replace by false value lw 9 png s could not decode file replace by false value 4e png s could not decode file replace by false value csr xml s could not decode file replace by false value b9q png s could not decode file replace by false value bzx png s could not decode file replace by false value b3f png s could not decode file replace by false value bay png I decode value xmls I baksmale class dex I baksmale classes2 dex I baksmale classes3 dex I baksmale classes4 dex I copy asset and lib I copy unknown file I copy original file I copy meta inf service directory step to reproduce 1 java jar apktool jar d whatsapp messenger 2 22 24 18 apk framework apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it I only try to decompile it 3 be you use the late apktool version yes
ibotpeachesapktool
unable to decompile facebook with late apktool compile from source
Bug
java version 1 8 0 341 java tm se runtime environment build 1 8 0 341 b10 java hotspot tm 64 bit server vm build 25 341 b10 mixed mode exception in thread main brut androlib androlibexception could not decode arsc file at brut androlib re decoder arscdecoder decode arscdecoder java 56 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 790 at brut androlib re androlibresource loadmainpkg androlibresource java 64 at brut androlib re androlibresource getrestable androlibresource java 56 at brut androlib androlib getrestable androlib java 74 at brut androlib apkdecoder getrestable apkdecoder java 247 at brut androlib apkdecoder decode apkdecoder java 109 at brut apktool main cmddecode main java 175 at brut apktool main main main java 79 cause by java io ioexception expect 0x00000008 get 0x0000000c at brut util extdatainput skipcheckshort extdatainput java 53 at brut androlib re decoder arscdecoder readvalue arscdecoder java 387 at brut androlib re decoder arscdecoder readentrydata arscdecoder java 312 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 297 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 212 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 133 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 85 at brut androlib re decoder arscdecoder decode arscdecoder java 51 8 more
ibotpeachesapktool
bug resource decode error
Bug
information 1 apktool version apktool version 2 6 1 2 operating system mac linux window windows linux 3 apk from playstore rom other vmos com stacktrace logcat apktool d base apk v f no src aug 07 2022 10 34 23 pm brut androlib apkdecoder decode info use apktool 2 6 1 dirty on base apk aug 07 2022 10 34 24 pm brut androlib re androlibresource loadmainpkg info loading resource table aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 24 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 25 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re decoder arscdecoder readconfigflag fine config flag size 56 but exceed byte be all zero so it should be ok aug 07 2022 10 34 26 pm brut androlib re androlibresource decodemanifestwithresource info decode androidmanif xml with resource exception in thread main brut androlib err rawxmlencounteredexception could not decode xml at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 145 at brut androlib re decoder xmlpullstreamdecoder decodemanifest xmlpullstreamdecoder java 151 at brut androlib re decoder resfiledecoder decodemanifest resfiledecoder java 159 at brut androlib re androlibresource decodemanifestwithresource androlibresource 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 cause by java io ioexception invalid chunk type 1310976 at brut androlib re decoder axmlresourceparser donext axmlresourceparser java 856 at brut androlib re decoder axmlresourceparser next axmlresourceparser java 98 at brut androlib re decoder axmlresourceparser nexttoken axmlresourceparser java 108 at org xmlpull v1 wrapper classic xmlpullparserdelegate nexttoken xmlpullparserdelegate java 105 at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 138 7 more apk it happen only on resource decode with no res it decode fine
ibotpeachesapktool
bug apktool bat java exe error
Bug
information 1 apktool version v2 6 1 2 operating system window 11 3 apk from other step to reproduce after follow installation step from the official and try to run apktool bat it will say c program be not recognize as an internal or external command operable program or batch file solve find this syntax set java exe java home bin java exe and remove double quote set java exe java home bin java exe
ibotpeachesapktool
no compile error duplicate symbol null in attrs xml bug
Bug
information 1 apktool version apktool version 2 6 1 2 operating system mac linux window window 3 apk from playstore rom other rom android 12 stacktrace logcat all log I use apktool 2 6 1 I check whether source have change I smale smali folder into class dex I check whether source have change I smale smali classes2 folder into classes2 dex I check whether resource have change I build resource w c user mor document apk easy tool 1 decompile apks mtksetting res value attrs xml 55 error duplicate symbol null step to reproduce disassembly and compile without change framework apk setting app question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 be you use the late apktool version yes
ibotpeachesapktool
bug error attribute android dataextractionrule not find
Bug
compile apk with attribute dataextractionrule fail dataextractionrule attribute get add in android 12 I e app targetting android 12 information apktool version apktool version 2 6 1 operating system mac linux window all apk from playstore rom other any app have manifest of android dataextractionrule stacktrace logcat main apkutil e compile apk encounter error apk w decompile androidmanif xml 3 error attribute android dataextractionrule not find w error fail processing manifest brut androlib androlibexception brut common brutexception could not exec exit code 1 var folder z9 lmrnq8rs7r11ryfnksxbtr1w0000gn t brut util jar 75538096012336025693464185194562265035 tmp link o var folder z9 lmrnq8rs7r11ryfnksxbtr1w0000gn t apktool6219217766914248629 tmp package i d 127 min sdk version 26 target sdk version 31 version code 109 version name 109 0 no auto version no version vector no version transition no resource dedupe e var folder z9 lmrnq8rs7r11ryfnksxbtr1w0000gn t apktool560981117956261954 tmp 0 arsc I user swetakumari library apktool framework 1 apk manif step to reproduce apktool add android dataextractionrule in the apk and try to recompile framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk any apk with dataextractionrule attribute enable in androidmanif file will have this error pfa for the sample apk swetasampleapp zip question to ask before submission have you try apktool d apktool b without change anything yes if you be try to install a modify apk do you reassign it yes be you use the late apktool version yes
ibotpeachesapktool
bug java lang stringindexoutofboundsexception string index out of range 24
Bug
information 1 apktool version apktool version 2 6 2 operating system mac linux windows mac 3 apk from playstore rom other other stacktrace logcat exception in thread main java lang stringindexoutofboundsexception string index out of range 24 at java lang string substre string java 1963 at brut androlib re decoder stringblock processstyledstring stringblock java 259 at brut androlib re decoder stringblock gethtml stringblock java 288 at brut androlib re decoder arscdecoder readvalue arscdecoder java 366 at brut androlib re decoder arscdecoder readentrydata arscdecoder java 285 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 261 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 184 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 135 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 84 at brut androlib re decoder arscdecoder decode arscdecoder java 50 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 783 at brut androlib re androlibresource loadmainpkg androlibresource java 64 at brut androlib re androlibresource getrestable androlibresource java 56 at brut androlib androlib getrestable androlib java 70 at brut androlib apkdecoder getrestable apkdecoder java 247 at brut androlib apkdecoder decode apkdecoder java 109 at brut apktool main cmddecode main java 175 at brut apktool main main main java 79 question to ask before submission 1 have you try apktool d without change anything yes 2 if you be try to install a modify apk do you resign it yes 3 be you use the late apktool version yes 4 version 2 5 be work fine but 2 6 2 6 1 be not
ibotpeachesapktool
bug exception in thread main brut androlib androlibexception could not decode arsc file
Bug
information 1 apktool version apktool version 2 6 1 2 operating system mac linux windows mac 3 apk from playstore rom other other stacktrace logcat apktool d f s xxxx apk I use apktool 2 6 1 on xxxx apk I load resource table exception in thread main brut androlib androlibexception could not decode arsc file at brut androlib re decoder arscdecoder decode arscdecoder java 55 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 783 at brut androlib re androlibresource loadmainpkg androlibresource java 64 at brut androlib re androlibresource getrestable androlibresource java 56 at brut androlib androlib getrestable androlib java 70 at brut androlib apkdecoder getrestable apkdecoder java 247 at brut androlib apkdecoder decode apkdecoder java 109 at brut apktool main cmddecode main java 175 at brut apktool main main main java 79 cause by java io ioexception expect 0x00000008 get 0x00000003 at brut util extdatainput skipcheckshort extdatainput java 53 at brut androlib re decoder arscdecoder readvalue arscdecoder java 360 at brut androlib re decoder arscdecoder readentrydata arscdecoder java 285 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 261 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 184 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 135 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 84 at brut androlib re decoder arscdecoder decode arscdecoder java 50 8 more step to reproduce 1 apktool framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it no 3 be you use the late apktool version yes
ibotpeachesapktool
bug incorrect order of html tag in string
Bug
information 1 apktool version apktool version 2 6 x 2 operating system mac linux window any 3 apk from playstore rom other dummy description apktool 2 6 x mess up the order of html tag in string when decompile an apk render it impossible to recompile without manually fix the broken tag like android 11 s setting apk aosp with full translation decompile as with 2 5 1 but with 2 6 x decompile as with 2 5 1 but with 2 6 x and so on full example original string quickly zoom in on the screen to display content more clearly to zoom in 1 use shortcut to start magnification 2 tap the screen 3 drag 2 finger to move around screen 4 pinch with 2 finger to adjust zoom 5 use shortcut to stop magnification to zoom in temporarily 1 use shortcut to start magnification 2 touch hold anywhere on the screen 3 drag finger to move around screen 4 lift finger to stop magnification decompile with apktool 2 5 1 quickly zoom in on the screen to display content more clearly to zoom in 1 use shortcut to start magnification 2 tap the screen 3 drag 2 finger to move around screen 4 pinch with 2 finger to adjust zoom 5 use shortcut to stop magnification to zoom in temporarily 1 use shortcut to start magnification 2 touch hold anywhere on the screen 3 drag finger to move around screen 4 lift finger to stop magnification decompile with apktool 2 6 x quickly zoom in on the screen to display content more clearly to zoom in 1 use shortcut to start magnification 2 tap the screen 3 drag 2 finger to move around screen 4 pinch with 2 finger to adjust zoom 5 use shortcut to stop magnification to zoom in temporarily 1 use shortcut to start magnification 2 touch hold anywhere on the screen 3 drag finger to move around screen 4 lift finger to stop magnification step to reproduce simply compile the source with apktool b then decompile the output apk with apktool d apk source for a minimal dummy apk upload here
ibotpeachesapktool
bug apktool doesn t decompile an instagram mod
Bug
information 1 apktool version apktool version 2 6 1 2 operating system mac linux window window 10 x64 3 apk from playstore rom other other stacktrace logcat I use apktool 2 6 1 on insta v8 95 apk I load resource table exception in thread main java lang classcastexception class brut androlib re datum value resstringvalue can not be cast to class brut androlib re datum value resintvalue brut androlib re datum value resstringvalue and brut androlib re datum value resintvalue be in unnamed module of loader app at brut androlib re datum value resattr factory resattr java 69 at brut androlib re datum value resvaluefactory bagfactory resvaluefactory java 91 at brut androlib re decoder arscdecoder readcomplexentry arscdecoder java 356 at brut androlib re decoder arscdecoder readentrydata arscdecoder java 285 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 261 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 184 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 135 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 84 at brut androlib re decoder arscdecoder decode arscdecoder java 50 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 783 at brut androlib re androlibresource loadmainpkg androlibresource java 64 at brut androlib re androlibresource getrestable androlibresource java 56 at brut androlib androlib getrestable androlib java 70 at brut androlib apkdecoder getrestable apkdecoder java 247 at brut androlib apkdecoder decode apkdecoder java 109 at brut apktool main cmddecode main java 175 at brut apktool main main main java 79 step to reproduce 1 apktool d insta v8 95 apk apk
ibotpeachesapktool
bug arscdecoder regression in 2 6 2 snapshot
Bug
information 1 apktool version 2 6 2 snapshot 2 operating system window x64 debian x64 3 apk from rom stacktrace logcat I use apktool 2 6 2 snapshot on inprocesstethere apk I load resource table I skip overlay 720065 I skip overlay 6e0069 I skip overlay 430067 I skip overlay 6e006f I skip overlay 690066 I skip overlay 67 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 0 I skip overlay 100205 I skip overlay 5c I skip overlay e I skip overlay 13 I skip overlay 7f010000 I skip overlay 7f010001 I skip overlay 7f010002 I skip overlay 7f010003 I skip overlay 7f010004 I skip overlay 7f010005 I skip overlay 7f010006 I skip overlay 7f010007 I skip overlay 7f010008 I skip overlay 7f020000 I skip overlay 7f020001 I skip overlay 7f020002 I skip overlay 7f020003 I skip overlay 7f040000 I skip overlay 7f040001 I skip overlay 7f040002 I skip overlay 7f050000 I skip overlay 7f050001 I skip overlay 7f050002 exception in thread main brut androlib androlibexception could not decode arsc file at brut androlib re decoder arscdecoder decode arscdecoder java 55 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 787 at brut androlib re androlibresource loadmainpkg androlibresource java 64 at brut androlib re androlibresource getrestable androlibresource java 56 at brut androlib androlib getrestable androlib java 70 at brut androlib apkdecoder getrestable apkdecoder java 247 at brut androlib apkdecoder decode apkdecoder java 109 at brut apktool main cmddecode main java 175 at brut apktool main main main java 79 cause by java io eofexception at com google common io littleendiandatainputstream readandcheckbyte littleendiandatainputstream java 235 at com google common io littleendiandatainputstream readint littleendiandatainputstream java 118 at brut util datainputdelegate readint datainputdelegate java 58 at brut androlib re decoder arscdecoder readoverlayspec arscdecoder java 185 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 138 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 84 at brut androlib re decoder arscdecoder decode arscdecoder java 50 8 more step to reproduce a normal decompilation with the late 2 6 2 snapshot this issue be not reproducible with apktool 2 6 1 or old framework pre include framework work fine no third party framework need apk
ibotpeachesapktool
bug doesn t decompile api32 framework
Bug
information 1 apktool version apktool version 2 6 2 fc28ac snapshot 2 operating system mac linux windows win 3 apk from playstore rom other android sdk sdk platform android 32 android jar stacktrace logcat all ok step to reproduce 1 apktool d android 32 apk apk if this apk can be freely share please upload attach a link to it android zip something be wrong in the res folder there be only three file value attrs xml value ids xml value public xml in the log be I skip stage alia stagedid 1fe0000 finalid 1020055 I skipping stage alia stagedid 1fe0001 finalid 1020056 I skipping stage alia stagedid 1fe0002 finalid 1020057 I skipping stage alia stagedid 1ff0000 finalid 101064c
ibotpeachesapktool
bug extra add in xml file
Bug
information 1 apktool version apktool version 2 6 1 2 operating system mac linux window window 3 apk from playstore rom other rom stacktrace logcat include stacktrace here step to reproduce 1 apktool just decode the systemui apk and look into the xml file for the extra add on code pointing to framework resource like this android textsize android diman text size apktool v2 6 0 android textsize android diman text size body 2 material apktool v2 6 1 android textsize android diman text size body 2 material framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app framework and systemui upload here apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes same issue 3 if you be try to install a modify apk do you resign it just decompile 4 be you use the late apktool version yes v2 6 1 this issue seem to be relate to bug reference 2650
ibotpeachesapktool
bug unable to install android 12 l beta 2 framework re apk
Bug
information 1 apktool version apktool version 2 4 1 or 2 6 0 I guess it doesn t matter 2 operating system mac linux window window use power shell 3 apk from playstore rom other redfin android 12 l beta 2 official firmware stacktrace logcat exception in thread main brut androlib androlibexception invalid chunk type expect 0x00000200 get 0x00000206 at brut androlib re decoder arscdecoder checkchunktype arscdecoder java 542 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 88 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 82 at brut androlib re decoder arscdecoder decode arscdecoder java 48 at brut androlib re decoder arscdecoder decode arscdecoder java 40 at brut androlib re androlibresource installframework androlibresource java 872 at brut androlib re androlibresource installframework androlibresource java 854 at brut androlib androlib installframework androlib java 707 at brut apktool main cmdinstallframework main java 269 at brut apktool main main main java 82 step to reproduce 1 java jar apktool 2 6 0 jar if framework re apk question to ask before submission 1 have you try apktool d apktool b without change anything n a 2 if you be try to install a modify apk do you resign it n a 3 be you use the late apktool version yes
ibotpeachesapktool
bug chunk amp be not a valid entry
Bug
information 1 apktool version apktool version 2 6 0 2 operating system mac linux windows win 3 apk from playstore rom other rom stacktrace logcat I use apktool 2 6 0 on setting apk I load resource table I decode share library miui pkgid 16 I decode share library android miui pkgid 17 I decode share library miui system pkgid 18 exception in thread main java lang illegalargumentexception chunk amp be not a valid entry at com google common base precondition checkargument precondition java 219 at com google common base splitter mapsplitter split splitter java 526 at brut androlib re decoder stringblock tag tostre stringblock java 167 at java base java lang string valueof string java 2951 at java base java lang stringbuilder append stringbuilder java 168 at brut androlib re decoder stringblock processstyledstring stringblock java 260 at brut androlib re decoder stringblock gethtml stringblock java 288 at brut androlib re decoder arscdecoder readvalue arscdecoder java 366 at brut androlib re decoder arscdecoder readentrydata arscdecoder java 285 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 261 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 184 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 135 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 84 at brut androlib re decoder arscdecoder decode arscdecoder java 50 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 783 at brut androlib re androlibresource loadmainpkg androlibresource java 64 at brut androlib re androlibresource getrestable androlibresource java 56 at brut androlib androlib getrestable androlib java 69 at brut androlib apkdecoder getrestable apkdecoder java 247 at brut androlib apkdecoder decode apkdecoder java 109 at brut apktool main cmddecode main java 175 at brut apktool main main main java 78 step to reproduce 1 java jar apktool 2 6 0 jar d p framework setting apk apk framework issue the commit mess up the setting apk decompilation from the miui rom
ibotpeachesapktool
bug nullpointerexception
Bug
information 1 apktool version apktool version 2 6 0 2 operating system mac linux windows linux debian 11 3 apk from playstore rom other playstore stacktrace logcat I use apktool 2 6 0 on tp link tether 3 4 28 apk dl com apk I load resource table I decode androidmanif xml with resource w could not decode attr value use undecoded value instead n android name versioncode value 0x000000ac w could not decode attr value use undecoded value instead n android name versionname value 0x00000030 w could not decode attr value use undecoded value instead n android name versioncode value 0x000000ac w could not decode attr value use undecoded value instead n android name versionname value 0x00000030 w could not decode attr value use undecoded value instead n android name installlocation value 0x00000000 w could not decode attr value use undecoded value instead n android name compilesdkversion value 0x0000001d w could not decode attr value use undecoded value instead n android name compilesdkversioncodename value 0x0000002e w could not decode attr value use undecoded value instead n android name minsdkversion value 0x00000013 w could not decode attr value use undecoded value instead n android name targetsdkversion value 0x0000001d w could not decode attr value use undecoded value instead n android name name value 0x0000004f w could not decode attr value use undecoded value instead n android name maxsdkversion value 0x0000001c w could not decode attr value use undecoded value instead n android name name value 0x0000004d w could not decode attr value use undecoded value instead n android name maxsdkversion value 0x0000001c w could not decode attr value use undecoded value instead n android name name value 0x0000004c w could not decode attr value use undecoded value instead n android name name value 0x00000043 w could not decode attr value use undecoded value instead n android name name value 0x00000042 w could not decode attr value use undecoded value instead n android name name value 0x00000049 w could not decode attr value use undecoded value instead n android name name value 0x0000004b w could not decode attr value use undecoded value instead n android name name value 0x0000004e w could not decode attr value use undecoded value instead n android name name value 0x00000048 w could not decode attr value use undecoded value instead n android name name value 0x00000045 w could not decode attr value use undecoded value instead n android name name value 0x00000046 w could not decode attr value use undecoded value instead n android name name value 0x0000005b w could not decode attr value use undecoded value instead n android name name value 0x0000003a w could not decode attr value use undecoded value instead n android name require value 0xffffffff w could not decode attr value use undecoded value instead n android name name value 0x00000040 w could not decode attr value use undecoded value instead n android name name value 0x00000041 w could not decode attr value use undecoded value instead n android name name value 0x00000183 w could not decode attr value use undecoded value instead n 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 matcher java 253 at java base java util regex pattern matcher pattern java 1133 at brut androlib re decoder androidmanifestresourceparser isnumericstringmetadataattributevalue androidmanifestresourceparser java 56 at brut androlib re 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 re decoder xmlpullstreamdecoder 1 event xmlpullstreamdecoder java 80 at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 139 at brut androlib re decoder xmlpullstreamdecoder decodemanifest xmlpullstreamdecoder java 151 at brut androlib re decoder resfiledecoder decodemanifest resfiledecoder java 159 at brut androlib re androlibresource decodemanifestwithresource androlibresource 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 step to reproduce 1 apktool d tp link tether 3 4 28 apk dl com apk framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app n a apk if this apk can be freely share please upload attach a link to it tplink teather question to ask before submission 1 have you try apktool d apktool b without change anything 2 if you be try to install a modify apk do you resign it 3 be you use the late apktool version
ibotpeachesapktool
bug duplicate xmlns android attribute
Bug
information 1 apktool version apktool version apktool 2 6 0 2 operating system mac linux window window 10 3 apk from playstore rom other playstore stacktrace logcat ps r java jar r apktool 2 6 0 jar d r slime hunter wild impact 5 0 4 apkcombo com apk I use apktool 2 6 0 on slime hunter wild impact 5 0 4 apkcombo com apk I load resource table I decode androidmanif xml with resource I load resource table from file c user x appdata local apktool framework 1 apk I regular manifest package fatal error 5 61 attribute xmlns android be already specify for element manifest I decode file resource I decode value xmls I baksmale class dex I baksmale classes2 dex I baksmale classes3 dex I baksmale classes4 dex I baksmale asset audience network dex I copy asset and lib I copy unknown file I copy original file I copy meta inf service directory ps r java jar r apktool 2 6 0 jar b r slime hunter wild impact 5 0 4 apkcombo com I use apktool 2 6 0 I check whether source have change I smale smali folder into class dex I check whether source have change I smale smali asset folder into asset dex I check whether source have change I smale smali classes2 folder into classes2 dex I check whether source have change I smale smali classes3 folder into classes3 dex I check whether source have change I smale smali classes4 folder into classes4 dex fatal error 5 61 attribute xmlns android be already specify for element manifest I check whether resource have change I build resource w r slime hunter wild impact 5 0 4 apkcombo com androidmanifest xml 5 error error parse xml duplicate attribute w brut androlib androlibexception brut common brutexception could not exec exit code 1 c user x appdata local temp brut util jar 46741419153469335912758414005722969781 tmp p force package i d 127 min sdk version 21 target sdk version 29 version code 2021091601 version name 5 0 4 no version vector f c user x appdata local temp apktool781941691269769731 tmp e c user x appdata local temp apktool1436051173160732781 tmp 0 arsc I c user x appdata local apktool framework 1 apk s r slime hunter wild impact 5 0 4 apkcombo com re m r slime hunter wild impact 5 0 4 apkcombo com androidmanifest xml ps r java jar r apktool 2 6 0 jar b r slime hunter wild impact 5 0 4 apkcombo com step to reproduce 1 java jar apktool 2 6 0 jar d 2 java jar apktool 2 6 0 jar b framework n a apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 be you use the late apktool version yes note it do not happen on apktool 2 5 0 no duplicate and the attribute look clean
ibotpeachesapktool
bug error parse xml mismatch tag pull request open
Bug
information 1 apktool version apktool version 2 5 0 2 operating system mac linux windows mac 3 apk from playstore rom other create use androidstudio stacktrace logcat apktool d dev apktoolt app debug app debug apk o download apktool output f I use apktool 2 5 0 on app debug apk I load resource table I decode androidmanif xml with resource I load resource table from file library apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls I baksmale class dex I copy asset and lib I copy unknown file I copy original file apktool b download apktool output o download app debug apk I use apktool 2 5 0 I check whether source have change I smale smali folder into class dex I check whether resource have change I build resource w download apktool output re value string xml 13 error error parse xml mismatch tag w brut androlib androlibexception brut common brutexception could not exec exit code 1 var folder 8l 3ys1qk95q34pssm4gy7m1q80000gn t brut util jar 13392127924982294337939654122101955086 tmp p force package i d 127 min sdk version 19 target sdk version 30 version code 1 version name 1 0 no version vector f var folder 8l 3ys1qk95q34pssm4gy7m1q80000gn t apktool4038631230554907941 tmp e var folder 8l 3ys1qk95q34pssm4gy7m1q80000gn t apktool890686013896391456 tmp 0 arsc I library apktool framework 1 apk s download apktool output re m download apktool output androidmanifest xml step to reproduce 1 apktool d app debug apk o download apktool output 2 apktool b download apktool output o download app debug out apk apk app debug apk zip pull request open pull request
ibotpeachesapktool
bug
Bug
information 1 apktool version apktool version 2 5 0 2 operating system mac linux window microsoft window 10 home 10 0 19042 n a build 19042 3 apk from playstore rom other playstore stacktrace logcat I have download the app disassemble it and compile without any modification but I be still get the follow error apktool d my app apk I use apktool 2 5 0 on my app apk I load resource table I decode androidmanif xml with resource I load resource table from file c user kreis appdata local apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls I baksmale class dex I baksmale classes2 dex I baksmale classes3 dex I copy asset and lib I copy unknown file I copy original file I copy meta inf service directory apktool b my app I use apktool 2 5 0 I check whether source have change I smale smali folder into class dex I check whether source have change I smale smali classes2 folder into classes2 dex I check whether source have change I smale smali classes3 folder into classes3 dex I check whether resource have change I build resource w c user kreis download my app re value layout xml 3 error find tag layout where item be expect w w c user kreis download my app re value raw xml 3 error find tag raw where item be expect w w c user kreis download my app re value xmls xml 3 error find tag xml where item be expect w brut androlib androlibexception brut common brutexception could not exec exit code 1 c user kreis appdata local temp brut util jar 89713787305572851922256998589184173201 tmp p force package i d 127 version code 1401100 version name 7 11 0 no version vector f c user kreis appdata local temp apktool7386735421035268852 tmp e c user kreis appdata local temp apktool2329160318474542829 tmp 0 arsc I c user kreis appdata local apktool framework 1 apk s c user kreis download my app re m c user kreis download my app androidmanifest xml step to reproduce 1 apktool d my app apk 2 apktool b my app framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it no modification 3 be you use the late apktool version yes
ibotpeachesapktool
bug apk doesn t decompile
Bug
information 1 apktool version apktool version 2 5 0 2 operating system mac linux window window 10 x64 3 apk from playstore rom other other step to reproduce 1 apktool d bug apk stacktrace logcat I use apktool 2 5 0 on bug apk I load resource table I decode androidmanif xml with resource exception in thread main brut androlib err rawxmlencounteredexception could not decode xml at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 149 at brut androlib re decoder xmlpullstreamdecoder decodemanifest xmlpullstreamdecoder java 155 at brut androlib re decoder resfiledecoder decodemanifest resfiledecoder java 162 at brut androlib re androlibresource decodemanifestwithresource androlibresource java 204 at brut androlib androlib decodemanifestwithresources androlib java 134 at brut androlib apkdecoder decode apkdecoder java 122 at brut apktool main cmddecode main java 179 at brut apktool main main main java 82 cause by java io ioexception invalid chunk type 1310976 at brut androlib re decoder axmlresourceparser donext axmlresourceparser java 906 at brut androlib re decoder axmlresourceparser next axmlresourceparser java 102 at brut androlib re decoder axmlresourceparser nexttoken axmlresourceparser java 112 at org xmlpull v1 wrapper classic xmlpullparserdelegate nexttoken xmlpullparserdelegate java 105 at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 142 7 more apk
ibotpeachesapktool
bug the asset folder in the asset folder be not recognize
Bug
information 1 apktool version apktool version use apktool 2 5 0 2 operating system mac linux window window 3 apk from playstore rom other other stacktrace logcat include stacktrace here there be an asset folder under the asset folder in apk package use apktool to package can not recognize the asset folder before pack befor after pack after the asst folder package under asset folder be remove during the packaging process of apktool
ibotpeachesapktool
bug incomplete decoding of string with emoji
Bug
information 1 apktool version apktool 2 5 1 dirty smal 0a7b843 2 operating system window 3 apk from other step to reproduce after decompilation look at re value string xml line 1935 1937 do you know what time it be bob harris font type this be not correct it should be do you know what time it be it s morning in tokyo bob harris good morning font type
ibotpeachesapktool
blocker 2 5 1 aapt not usable on macos
Bug
information 1 apktool version apktool version 2 5 0 2 operating system mac linux windows macos 11 1 3 apk from playstore rom other playstore stacktrace logcat I use apktool 2 5 0 I check whether source have change I smale smali folder into class dex I check whether resource have change I build resource w dyld library not load rpath libc dylib w reference from var folder 5l f30qm99143n7lf9dd1 pb5v40000gn t brut util jar 22487465168643078285790281712635730641 tmp w reason image not find brut androlib androlibexception brut common brutexception could not exec exit code 134 var folder 5l f30qm99143n7lf9dd1 pb5v40000gn t brut util jar 22487465168643078285790281712635730641 tmp p force package i d 127 min sdk version 14 target sdk version 29 version code 308001336 version name 8 0 1 no version vector f var folder 5l f30qm99143n7lf9dd1 pb5v40000gn t apktool3306739641509490829 tmp e var folder 5l f30qm99143n7lf9dd1 pb5v40000gn t apktool2214957322552063658 tmp 0 arsc I user kotori0 library apktool framework 1 apk s redact input re m redact input androidmanifest xml step to reproduce 1 decompile anything with apktool d xxx apk 2 recompile with java jar apktool jar b xxx o out apk framework n a apk not relate can reproduce with any apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it n a 3 be you use the late apktool version yes libc dylib be actually not exist I have xcode and command line tool instal also find this on apple forum so I m not sure if it s an apple s bug ls usr lib charset alia libpython2 7 dylib cron libstdc 6 dylib dsc extractor bundle libstdc dylib dtrace log dyld pam groff php libleaksatexit dylib pkgconfig libmtlcapture dylib python2 7 libffi trampoline dylib rpcsvc libgmalloc dylib ruby libhunspell 1 2 0 dylib sasl2 libhunspell 1 2 dylib sqlite3 libiodbc 2 dylib swift libiodbc dylib system libiodbcinst 2 dylib updater libiodbcinst dylib xpc libobjc trampolines dylib zsh libpython dylib also I try to execute aapt 64 and get same result aapt 64 dyld library not load rpath libc dylib reference from user kotori0 code plc801 apktool prebuilt macosx aapt 64 reason image not find zsh abort aapt 64 while aapt2 seem work
ibotpeachesapktool
bug v2 5 0 nullpointerexception os rmdir
Bug
information 1 apktool version apktool version v2 5 0 2 operating system mac linux window linux ubu18 04 3 apk from playstore rom other stacktrace logcat sh apktool d f no src o tmp home edu apks skyuk com bt btsport apk exception in thread main java lang nullpointerexception at brut util os rmdir os java 41 at brut util os rmdir os java 44 at brut androlib apkdecoder decode apkdecoder java 95 at brut apktool main cmddecode main java 179 at brut apktool main main main java 82
ibotpeachesapktool
usage of empty namespace in androidmanifest xml
Bug
information 1 apktool version apktool version 2 4 1 2 operating system mac linux windows mac 3 apk from playstore rom other playstore step to reproduce apktool d com xoom android app apk apk question to ask before submission 1 have you try apktool d apktool b without change anything 2 if you be try to install a modify apk do you resign it 3 be you use the late apktool version the whole androidmanif xml look like so xml so all attribute don t contain android namespace
ibotpeachesapktool
not support android 11
Bug
information 1 apktool version apktool version 2 4 1 2 operating system mac linux windows linux 3 apk from playstore rom other other the query tag in android11 be not support you must use the late aapt2 30 0 0 version the late apktool version do not support the late aapt2 if you specify the late version of aapt2 it be possible for the command to be too long to execute the aapt in apktool handle the problem of command length through the e parameter
ibotpeachesapktool
arrayindexoutofboundsexception getutf8
Bug
information 1 apktool version apktool version 2 4 1 2 operating system mac linux window window 10 2004 3 apk from playstore rom other play store stacktrace logcat I use apktool 2 4 1 on arrivecan can gc cbsa coronavirus apk I load resource table I decode androidmanif xml with resource I load resource table from file c user jar appdata local apktool framework 1 apk exception in thread main java lang arrayindexoutofboundsexception index 1741 out of bound for length 1732 at brut androlib re decoder stringblock getutf8 stringblock java 317 at brut androlib re decoder stringblock getstre stringblock java 102 at brut androlib re decoder axmlresourceparser getname axmlresourceparser java 176 at org xmlpull v1 wrapper classic xmlpullparserdelegate getname xmlpullparserdelegate java 57 at brut androlib re decoder xmlpullstreamdecoder 1 event xmlpullstreamdecoder java 64 at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 142 at brut androlib re decoder xmlpullstreamdecoder decodemanifest xmlpullstreamdecoder java 154 at brut androlib re decoder resfiledecoder decodemanifest resfiledecoder java 162 at brut androlib re androlibresource decodemanifestwithresource androlibresource java 204 at brut androlib androlib decodemanifestwithresources androlib java 134 at brut androlib apkdecoder decode apkdecoder java 122 at brut apktool main cmddecode main java 170 at brut apktool main main main java 76 step to reproduce 1 apktool d path to arrivecan apk framework apk be frameworkless apk question to ask before submission 1 have you try apktool d apktool b without change anything not relevant as apktool d be the issue 2 if you be try to install a modify apk do you resign it not relevant 3 be you use the late apktool version yes attempt to do some decompilation of this app to see how it do system modification detection
ibotpeachesapktool
crash as it fail write to home directory
Bug
information 1 apktool version 2 4 1 2 operating system linux 3 apk from playstore stacktrace logcat exception in thread main brut androlib androlibexception can t create directory var lib tomcat8 local share apktool framework at brut androlib res androlibresource getframeworkdir androlibresource java 982 at brut androlib res androlibresource getframeworkapk androlibresource java 799 at brut androlib re androlibresource loadframeworkpkg androlibresource java 119 at brut androlib re datum restable getpackage restable java 84 at brut androlib re data restable getresspec restable java 67 at brut androlib re data restable getresspec restable java 63 at brut androlib re datum value resreferencevalue getreferent resreferencevalue java 62 at brut androlib re datum value resreferencevalue referentisnull resreferencevalue java 73 at brut androlib re datum value resstylevalue serializetoresvaluesxml resstylevalue java 49 at brut androlib re datum value resbagvalue serializetoresvaluesxml resbagvalue java 42 at brut androlib re androlibresource generatevaluesfile androlibresource java 742 at brut androlib re androlibresource decode androlibresource java 263 at brut androlib androlib decoderesourcesfull androlib java 129 at brut androlib apkdecoder decode apkdecoder java 124 at brut apktool main cmddecode main java 170 at brut apktool main main main java 76 step to reproduce execute apktool from tomcat8 with no permission to write in its home directory this be relate to 1586 but it do not fall back to tmp
ibotpeachesapktool
resource arsc in apk be compress
Bug
information 1 apktool version apktool version late 2 operating system mac linux window window 10 3 apk from playstore rom other playstore stacktrace logcat c user xxx apktool b wewalk use aapt2 I use apktool 2 4 1 I check whether resource have change I build resource w c user xxx wewalk res value public xml 1944 error resource drawable avd hide password 0 have invalid entry name avd hide password 0 invalid character avd hide password 0 w c user xxx wewalk res value public xml 1945 error resource drawable avd hide password 1 have invalid entry name avd hide password 1 invalid character avd hide password 1 w c user xxx wewalk res value public xml 1946 error resource drawable avd hide password 2 have invalid entry name avd hide password 2 invalid character avd hide password 2 w c user xxx wewalk res value public xml 1947 error resource drawable avd show password 0 have invalid entry name avd show password 0 invalid character avd show password 0 w c user xxx wewalk res value public xml 1948 error resource drawable avd show password 1 have invalid entry name avd show password 1 invalid character avd show password 1 w c user xxx wewalk res value public xml 1949 error resource drawable avd show password 2 have invalid entry name avd show password 2 invalid character avd show password 2 w brut util jar 3665252181387426730 tmp w 04 03 18 37 48 7244 6492 apkasset cpp 137 resource arsc in apk c user xxx appdata local apktool framework 1 apk be compress I copy libs kotlin I copy lib meta inf service I build apk file I copy unknown file dir I build apk step to reproduce 1 apktool d wewalk apk 2 apktool b wewalk use aapt2 framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes and get error 2 if you be try to install a modify apk do you resign it yes 3 be you use the late apktool version yes after build apk apk decrees wewalk zip size to 20 mb from 25 5 mb and after sign can not install please help
ibotpeachesapktool
recompile get error when apktool b and without change anything
Bug
error w g debug platform tool base re layout activity fund in land xml 2 error no resource identifier find for attribute umanodragview in package android w w g debug platform tool base re layout activity fund in land xml 2 error no resource identifier find for attribute umanofadecolor in package android w w g debug platform tool base re layout activity fund in land xml 2 error no resource identifier find for attribute umanooverlay in package android w w g debug platform tool base re layout activity fund in land xml 2 error no resource identifier find for attribute umanopanelheight in package android w w g debug platform tool base re layout activity fund in land xml 2 error no resource identifier find for attribute umanoscrollableview in package android w w g debug platform tool base re layout activity fund in land xml 2 error no resource identifier find for attribute umanoshadowheight in package android w w g debug platform tool base re layout activity fund in land xml 13 error no resource identifier find for attribute pagecolor in package android w w g debug platform tool base re layout activity fund in land xml 33 error no resource identifier find for attribute cornerradius in package android w w g debug platform tool base re layout activity fund in land xml 33 error no resource identifier find for attribute roundedcorner in package android w w g debug platform tool base re layout activity fund in land xml 39 error no resource identifier find for attribute cornerradius in package android w w g debug platform tool base re layout activity fund in land xml 39 error no resource identifier find for attribute roundedcorner in package android w w g debug platform tool base re layout activity fund in land xml 56 error no resource identifier find for attribute cornerradius in package android w w g debug platform tool base re layout activity fund in land xml 56 error no resource identifier find for attribute roundedcorner in package android w w g debug platform tool base re layout activity fund in land xml 59 error no resource identifier find for attribute cornerradius in package android w w g debug platform tool base re layout activity fund in land xml 59 error no resource identifier find for attribute roundedcorner in package android w w g debug platform tool base re layout activity fund in land xml 62 error no resource identifier find for attribute cornerradius in package android w w g debug platform tool base re layout activity fund in land xml 62 error no resource identifier find for attribute roundedcorner in package android w w g debug platform tool base re layout activity fund in land xml 65 error no resource identifier find for attribute cornerradius in package android w w g debug platform tool base re layout activity fund in land xml 65 error no resource identifier find for attribute roundedcorner in package android w w g debug platform tool base re layout activity fund in land xml 71 error no resource identifier find for attribute cornerradius in package android w w g debug platform tool base re layout activity fund in land xml 71 error no resource identifier find for attribute roundedcorner in package android w w g debug platform tool base re layout activity fund in land xml 74 error no resource identifier find for attribute cornerradius in package android w w g debug platform tool base re layout activity fund in land xml 74 error no resource identifier find for attribute roundedcorner in package android w w g debug platform tool base re layout activity fund in land xml 87 error no resource identifier find for attribute cornerradius in package android w w g debug platform tool base re layout activity fund in land xml 87 error no resource identifier find for attribute roundedcorner in package android w w g debug platform tool base re layout activity fund in land xml 90 error no resource identifier find for attribute cornerradius in package android w w g debug platform tool base re layout activity fund in land xml 90 error no resource identifier find for attribute roundedcorner in package android w w g debug platform tool base re layout activity fund in land xml 93 error no resource identifier find for attribute cornerradius in package android w w g debug platform tool base re layout activity fund in land xml 93 error no resource identifier find for attribute roundedcorner in package android brut androlib androlibexception brut common brutexception could not exec exit code 1 c user higkiwr appdata local temp brut util jar 6805954429957821451 tmp p force package i d 127 min sdk version 21 target sdk version 28 version code 251 version name 5 6 0 no version vector f c user higkiwr appdata local temp apktool615879136245490332 tmp e c user higkiwr appdata local temp apktool1111665741251445200 tmp 0 arsc I c user higkiwr appdata local apktool framework 1 apk s g debug platform tool base re m g debug platform tool base androidmanifest xml w w g debug platform tool base re layout activity fund in land xml 96 error no resource identifier find for attribute cornerradius in package android w image annotation 2020 03 27 151720 information 1 apktool version apktool version 2 4 1 2 operating system mac linux window window 3 apk from playstore rom other playstore apk apk file question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it no 3 be you use the late apktool version yes
ibotpeachesapktool
nullpointerexception on v2 4 1
Bug
information 1 apktool version apktool version v2 4 1 2 operating system mac linux window linux ubu18 04 3 apk from playstore rom other chinese protect apk with appguard stacktrace logcat sh apktool d tmp crash apk I use apktool 2 4 1 on crash apk I load resource table I decode androidmanif xml with resource I load resource table from file home edu local share apktool framework 1 apk exception in thread main java lang nullpointerexception at java base java io writer write writer java 249 at org xmlpull rename mxserializer attribute mxserializer java 631 at org xmlpull v1 wrapper classic xmlserializerdelegate attribute xmlserializerdelegate java 106 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 re decoder xmlpullstreamdecoder 1 event xmlpullstreamdecoder java 84 at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 142 at brut androlib re decoder xmlpullstreamdecoder decodemanifest xmlpullstreamdecoder java 154 at brut androlib re decoder resfiledecoder decodemanifest resfiledecoder java 162 at brut androlib re androlibresource decodemanifestwithresource androlibresource java 204 at brut androlib androlib decodemanifestwithresources androlib java 134 at brut androlib apkdecoder decode apkdecoder java 122 at brut apktool main cmddecode main java 170 at brut apktool main main main java 76 include stacktrace here apk
ibotpeachesapktool
some character surrogate pair be miss in string xml
Bug
information 1 apktool version apktool version 2 4 1 2 operating system mac linux windows linux 3 apk from playstore rom other other stacktrace logcat step to reproduce 1 build an apk not necessary it s link with this string value 2 apktool java jar apktool jar d s tmp app debug apk o tmp demo unpacked I use apktool 2 4 1 on app debug apk I load resource table I decode androidmanif xml with resource I load resource table from file home jarda local share apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls I copy raw class dex file I copy asset and lib I copy unknown file I copy original file 3 check unpacked string xml expect result non empty string value framework null apk this be just a trivial app from android studio new project wizzard I have just add this to string xml question to ask before submission 1 have you try apktool d apktool b without change anything just d 2 if you be try to install a modify apk do you resign it not necessary 3 be you use the late apktool version yes
ibotpeachesapktool
have invalid entry name error for in a resource name
Bug
information 1 apktool version apktool version 2 4 1 2 operating system mac linux windows linux 3 apk from playstore rom other playstore stacktrace logcat without no res build fail on 2 4 1 with brut androlib androlibexception brut common brutexception could not exec exit code 1 tmp brut util jar 11539218468336209270 tmp p force package i d 127 min sdk version 21 target sdk version 28 version code 11060065 version name 11 6 0 no version vector f tmp apktool9525969781244891391 tmp e tmp apktool302453863322533635 tmp 0 arsc I home user local share apktool framework 1 apk s home user src dir re m home user src dir androidmanifest xml also there be strange difference between classes3 dex which use this resourse original rebuild header magic dex n035 header magic dex n035 checksum 63f7d3db correct checksum 3dd18ccd correct file size 0x6dbd94 7191956 file size 0x704c94 7359636 header size 0x70 112 header size 0x70 112 endian 0x12345678 endian 0x12345678 map 0x6dbcb8 with 18 item map 0x704bb8 with 18 item item 0 type header 0x0 size 1 offset 0x 0 item 0 type header 0x0 size 1 offset 0x 0 item 1 type string ids 0x1 size 49738 offset 0x 70 item 1 type string ids 0x1 size 49738 offset 0x 70 item 2 type type ids 0x2 size 8989 offset 0x30998 item 2 type type ids 0x2 size 8989 offset 0x30998 item 3 type proto ids 0x3 size 13848 offset 0x3960c item 3 type proto ids 0x3 size 13848 offset 0x3960c item 4 type field ids 0x4 size 65369 offset 0x61f2c item 4 type field ids 0x4 size 65369 offset 0x61f2c item 5 type method ids 0x5 size 47752 offset 0xe19f4 item 5 type method ids 0x5 size 47752 offset 0xe19f4 item 6 type class def 0x6 size 6099 offset 0x13ee34 item 6 type class def 0x6 size 6099 offset 0x13ee34 item 7 type code 0x2001 size 39249 offset 0x16e894 item 15 type code 0x2001 size 39249 offset 0x437444 item 8 type debug info 0x2003 size 7476 offset 0x3cdec0 item 14 type debug info 0x2003 size 36074 offset 0x3f8858 item 9 type type list 0x1001 size 6645 offset 0x3e63f0 item 8 type type list 0x1001 size 6645 offset 0x310120 item 10 type string datum 0x2002 size 49738 offset 0x3f67b2 item 7 type string datum 0x2002 size 49738 offset 0x16e894 item 11 type annotation 0x2004 size 11619 offset 0x59803e item 10 type annotation 0x2004 size 11619 offset 0x35060b item 12 type map 0x2000 size 5902 offset 0x5e88c5 item 16 type map 0x2000 size 5902 offset 0x696a6e item 13 type encode array 0x2005 size 417 offset 0x6541c0 item 9 type encode array 0x2005 size 414 offset 0x3204e4 item 14 type annotation set item 0x1003 size 10381 offset 0x684300 item 11 type annotation set item 0x1003 size 10382 offset 0x3a0e94 item 15 type annotation ref ref list 0x1002 size 230 offset 0x6a0578 item 12 type annotation ref ref list 0x1002 size 230 offset 0x3bd110 item 16 type annotation directory 0x2006 size 5448 offset 0x6a1ac0 item 13 type annotation directory 0x2006 size 5448 offset 0x3be660 item 17 type map list 0x1000 size 1 offset 0x6dbcb8 item 17 type map list 0x1000 size 1 offset 0x704bb8 link 0 byte 0x0 link 0 byte 0x0 string ids 49738 string 0x70 string ids 49738 string 0x70 type ids 8989 type 0x30998 type ids 8989 type 0x30998 field ids 65369 field 0x61f2c field ids 65369 field 0x61f2c proto ids 13848 proto 0x3960c proto ids 13848 proto 0x3960c method ids 47752 method 0xe19f4 method ids 47752 method 0xe19f4 class def 6099 class 0x13ee34 class def 6099 class 0x13ee34 datum 5690624 byte 0x16e894 datum 5858304 byte 0x16e894 be it expect that rebuilder may change size of dex section step to reproduce 1 apktool decode 2 apktool build framework apk be not from an oem rom apk late tinder official base apk from playstore question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it yes 3 be you use the late apktool version yes
ibotpeachesapktool
stringindexoutofboundsexception gethtml
Bug
d software java 8 x64 jdk1 8 0 151 bin java exe d64 jar d do android bin apktool jar force output project calcalist 5049 decode d do android calcalist 5049 apk pick up java tool option dfile encode utf8 duser language en xmn512 m xms512 m xmx2048 m xverify none xx useparallelgc xx parallelgcthread 2 dfile encode utf8 duser language en I use apktool 2 4 1 b05f19 snapshot on calcalist 5049 apk I load resource table exception in thread main java lang stringindexoutofboundsexception string index out of range 24 at java lang string substre string java 1963 at brut androlib re decoder stringblock gethtml stringblock java 164 at brut androlib re decoder arscdecoder readvalue arscdecoder java 360 at brut androlib re decoder arscdecoder readentrydata arscdecoder java 276 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 252 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 175 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 131 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 82 at brut androlib re decoder arscdecoder decode arscdecoder java 48 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 786 at brut androlib re androlibresource loadmainpkg androlibresource java 67 at brut androlib re androlibresource getrestable androlibresource java 59 at brut androlib androlib getrestable androlib java 66 at brut androlib apkdecoder settargetsdkversion apkdecoder java 236 at brut androlib apkdecoder decode apkdecoder java 118 at brut apktool main cmddecode main java 170 at brut apktool main main main java 76 I m try to process this apk I m use an apktool version 2 4 1 197d46 snapshot from source can download from
ibotpeachesapktool
0 apktool duplicatename 0x7f120006 aapt2 not support
Bug
information 1 apktool version apktool version apktool 2 4 1 17ad91 2 operating system mac linux window window 10 pro 3 apk from playstore rom other here be one of many example within the decompile apk file all xml file be affect 0 apktool duplicatename 0x7f0d0003 xml 2 error no resource identifier find for attribute divider in package com lnt androidnettv step to reproduce normal decompile setting no modification do normal compile setting compile fail apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it can not get that far compile fail 3 be you use the late apktool version yes
ibotpeachesapktool
brut common rootunknownfileexception absolute unknown file be not allow
Bug
information 1 apktool version apktool version late 2 4 2 operating system mac linux windows linux 3 apk from playstore rom other playstore image I get that error while try to rebuild an apk that be disassemble with apktool
ibotpeachesapktool
can t decompile obfuscate apk
Bug
information 1 apktool version apktool version 2 4 0 2 operating system mac linux window window 10 64 bit 3 apk from playstore rom other apkpure stacktrace logcat I use apktool 2 4 0 on apkname apk I load resource table I decode androidmanif xml with resource s warning could not write to c user user appdata local apktool framework use c user user appdata local temp instead s please be aware this be a volatile directory and framework could go miss please utilize frame path if the default storage directory be unavailable I load resource table from file c user user appdata local temp 1 apk w could not decode attr value use undecoded value instead n android name theme value 0x7f130315 w could not decode attr value use undecoded value instead n android name label value 0x7f1200f0 w could not decode attr value use undecoded value instead n android name icon value 0x7f080837 w could not decode attr value use undecoded value instead n android name logo value 0x7f080572 w could not decode attr value use undecoded value instead n android name networksecurityconfig value 0x7f150001 w could not decode attr value use undecoded value instead n android name theme value 0x7f130316 w could not decode attr value use undecoded value instead n android name label value 0x7f1200f0 w could not decode attr value use undecoded value instead n android name resource value 0x7f15000a w could not decode attr value use undecoded value instead n android name theme value 0x7f130317 w could not decode attr value use undecoded value instead n android name label value 0x7f1200f0 w could not decode attr value use undecoded value instead n android name theme value 0x7f130315 w could not decode attr value use undecoded value instead n android name label value 0x7f1203ac w could not decode attr value use undecoded value instead n android name label value 0x7f121574 w could not decode attr value use undecoded value instead n android name resource value 0x7f110076 w could not decode attr value use undecoded value instead n android name value value 0x7f120773 w could not decode attr value use undecoded value instead n android name value value 0x7f120772 w could not decode attr value use undecoded value instead n android name value value 0x7f120771 w could not decode attr value use undecoded value instead n android name value value 0x7f120774 w could not decode attr value use undecoded value instead n android name label value 0x7f121286 w could not decode attr value use undecoded value instead n android name resource value 0x7f150002 w could not decode attr value use undecoded value instead n android name theme value 0x7f130319 w could not decode attr value use undecoded value instead n android name label value 0x7f1212b6 w could not decode attr value use undecoded value instead n android name theme value 0x7f130319 w could not decode attr value use undecoded value instead n android name label value 0x7f121285 w could not decode attr value use undecoded value instead n android name theme value 0x7f130319 w could not decode attr value use undecoded value instead n android name label value 0x7f12028d w could not decode attr value use undecoded value instead n android name theme value 0x7f130319 w could not decode attr value use undecoded value instead n android name layout marginright value 0x7f070175 w could not decode attr value use undecoded value instead n app name srccompat value 0x7f0805b1 w could not decode attr value use undecoded value instead n android name layout marginright value 0x7f070175 w could not decode attr value use undecoded value instead n android name layout marginleft value 0x7f07018a w could not decode attr value use undecoded value instead n android name layout marginleft value 0x7f07014f w could not decode attr value use undecoded value instead n android name layout margintop value 0x7f07014f w could not decode attr value use undecoded value instead n android name layout marginright value 0x7f07014f w could not decode attr value use undecoded value instead n android name text value 0x7f120c34 w could not decode attr value use undecoded value instead n name style value 0x7f1300f7 w could not decode attr value use undecoded value instead n android name padding value 0x7f070144 w could not decode attr value use undecoded value instead n android name layout marginleft value 0x7f07014f w could not decode attr value use undecoded value instead n android name layout margintop value 0x7f07018a w could not decode attr value use undecoded value instead n android name layout marginright value 0x7f07014f w could not decode attr value use undecoded value instead n name style value 0x7f13029b w could not decode attr value use undecoded value instead n android name layout marginleft value 0x7f07014f w could not decode attr value use undecoded value instead n android name layout margintop value 0x7f07018a w could not decode attr value use undecoded value instead n android name layout marginright value 0x7f07014f w could not decode attr value use undecoded value instead n android name layout marginbottom value 0x7f07013d w could not decode attr value use undecoded value instead n android name background value 0x7f0801b9 w could not decode attr value use undecoded value instead n app name cardbackgroundcolor value 0x7f0602df w could not decode attr value use undecoded value instead n app name cardcornerradius value 0x7f07018a w could not decode attr value use undecoded value instead n android name padding value 0x7f07018a w could not decode attr value use undecoded value instead n android name layout margin value 0x7f07017a w could not decode attr value use undecoded value instead n name style value 0x7f13029b w could not decode attr value use undecoded value instead n app name srccompat value 0x7f080693 I decode value xmls can t find framework resource for package of i d 127 you must install proper framework file see project website for more info step to reproduce 1 apktool d apkname apk framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it haven t try fail at decompile step 3 be you use the late apktool version yes
ibotpeachesapktool
exception in thread main java lang nullpointerexception
Bug
information 1 apktool version apktool version 2 4 0 2 4 1 75e4c6 snapshot 2 operating system mac linux windows linux 3 apk from playstore rom other playstore stacktrace logcat java jar apktool 2 4 0 jar d jiosaavn 6 4 1 apk I use apktool 2 4 0 on jiosaavn 6 4 1 apk I load resource table I decode androidmanif xml with resource I load resource table from file home surendra local share apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls exception in thread main java lang nullpointerexception at brut androlib re datum value resenumattr serializebody resenumattr java 56 at brut androlib re datum value resattr serializetoresvaluesxml resattr java 64 at brut androlib re androlibresource generatevaluesfile androlibresource java 704 at brut androlib re androlibresource decode androlibresource java 263 at brut androlib androlib decoderesourcesfull androlib java 131 at brut androlib apkdecoder decode apkdecoder java 124 at brut apktool main cmddecode main java 167 at brut apktool main main main java 76 process exit with code 1 java jar apktool brut apktool apktool cli build lib apktool cli all jar d jiosaavn 6 4 1 apk I use apktool 2 4 1 75e4c6 snapshot on jiosaavn 6 4 1 apk I load resource table I decode androidmanif xml with resource I load resource table from file home surendra local share apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls exception in thread main java lang nullpointerexception at brut androlib re datum value resenumattr serializebody resenumattr java 56 at brut androlib re datum value resattr serializetoresvaluesxml resattr java 64 at brut androlib re androlibresource generatevaluesfile androlibresource java 703 at brut androlib re androlibresource decode androlibresource java 260 at brut androlib androlib decoderesourcesfull androlib java 131 at brut androlib apkdecoder decode apkdecoder java 124 at brut apktool main cmddecode main java 170 at brut apktool main main main java 76 process exit with code 1 step to reproduce 1 java jar apktool 2 4 0 jar d jiosaavn 6 4 1 apk framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app na apk if this apk can be freely share please upload attach a link to it jiosaavn question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it na 3 be you use the late apktool version yes
ibotpeachesapktool
apktool building not work on 2 4 0 with java 8 32bit
Bug
information I try decompile and build multiple apks on multiple machine it work on some on some it doesn t all window 10 it doesn t work see stacktrace with 2 4 0 but it work with 2 3 4 1 apktool version 2 4 0 2 operating system window 10 3 apk from selfmade stacktrace logcat I use apktool 2 4 0 I smale smali folder into class dex I build resource brut androlib androlibexception brut common brutexception could not exec exit code 1073741515 c user user appdata local temp brut util jar 1931288203282772305 tmp p force package i d 127 min sdk version 21 target sdk version 29 version code 1 version name 0 1 no version vector f c user user appdata local temp apktool2912424743621301431 tmp 0 arsc 0 png 0 arsc I c user user appdata local apktool framework 1 apk s c user user desktop test test5 re m c user user desktop test test5 androidmanifest xml step to reproduce 1 apktool d input apk o outputfolder 2 apktool b outputfolder f o output apk framework default framework apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it n a 3 be you use the late apktool version yes
ibotpeachesapktool
hangout v31 0 not decompile q compat
Bug
information 1 apktool version apktool version 2 4 1 5aa3cf snapshot 2 operating system mac linux windows linux 3 apk from playstore rom other play store stacktrace logcat exception in thread main brut androlib androlibexception could not decode arsc file at brut androlib re decoder arscdecoder decode arscdecoder java 53 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 747 at brut androlib re androlibresource loadmainpkg androlibresource java 67 at brut androlib re androlibresource getrestable androlibresource java 59 at brut androlib androlib getrestable androlib java 68 at brut androlib apkdecoder settargetsdkversion apkdecoder java 236 at brut androlib apkdecoder decode apkdecoder java 118 at brut apktool main cmddecode main java 170 at brut apktool main main main java 76 cause by java io ioexception expect 0x00000008 get 0x00000202 at brut util extdatainput skipcheckshort extdatainput java 56 at brut androlib re decoder arscdecoder readvalue arscdecoder java 354 at brut androlib re decoder arscdecoder readentrydata arscdecoder java 276 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 252 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 175 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 131 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 82 at brut androlib re decoder arscdecoder decode arscdecoder java 48 8 more step to reproduce 1 apktool d hangout apk apk
ibotpeachesapktool
invalid chunk type
Bug
information apktool version apktool version v2 4 0 operating system mac linux window window and linux apk from playstore rom other google play store root jeruk home sihar apktool d bukalapak apk I use apktool 2 4 0 on bukalapak apk I load resource table exception in thread main brut androlib androlibexception invalid chunk type expect 0x00000200 get 0x00000203 at brut androlib re decoder arscdecoder checkchunktype arscdecoder java 542 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 88 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 82 at brut androlib re decoder arscdecoder decode arscdecoder java 48 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 748 at brut androlib re androlibresource loadmainpkg androlibresource java 67 at brut androlib re androlibresource getrestable androlibresource java 59 at brut androlib androlib getrestable androlib java 68 at brut androlib apkdecoder settargetsdkversion apkdecoder java 228 at brut androlib apkdecoder decode apkdecoder java 118 at brut apktool main cmddecode main java 167 at brut apktool main main main java 76
ibotpeachesapktool
the source can t be build with jdk11 on win10
Bug
when I build the source on win10 x64 with jdk 11 0 2 I encounter the issue below can t find reference java long object and other base java class t think the reason be that jdk 11 not install a jre directory in the java home directory then the build script can t find rt jar
ibotpeachesapktool
error when decode manifest
Bug
information 1 apktool version apktool version 2 4 0 2 operating system mac linux window window 3 apk from playstore rom other playstore apkpure stacktrace logcat f workplace apktool d dec apk I use apktool 2 4 0 on dec apk I load resource table I decode androidmanif xml with resource I load resource table from file c user alepe appdata local apktool framework 1 apk exception in thread main brut androlib err rawxmlencounteredexception could not decode xml at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 148 at brut androlib re decoder xmlpullstreamdecoder decodemanifest xmlpullstreamdecoder java 154 at brut androlib re decoder resfiledecoder decodemanifest resfiledecoder java 161 at brut androlib re androlibresource decodemanifestwithresource androlibresource java 204 at brut androlib androlib decodemanifestwithresources androlib java 136 at brut androlib apkdecoder decode apkdecoder java 122 at brut apktool main cmddecode main java 167 at brut apktool main main main java 76 cause by java io eofexception at com google common io littleendiandatainputstream readandcheckbyte littleendiandatainputstream java 226 at com google common io littleendiandatainputstream readint littleendiandatainputstream java 116 at brut util datainputdelegate readint datainputdelegate java 61 at brut androlib re decoder axmlresourceparser donext axmlresourceparser java 890 at brut androlib re decoder axmlresourceparser next axmlresourceparser java 102 at brut androlib re decoder axmlresourceparser nexttoken axmlresourceparser java 112 at org xmlpull v1 wrapper classic xmlpullparserdelegate nexttoken xmlpullparserdelegate java 105 at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 141 7 more step to reproduce 1 apktool d apkname apk framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app use the usual framework apk apk if this apk can be freely share please upload attach a link to it playstore apkpure question to ask before submission 1 have you try apktool d apktool b without change anything yes d win t work and I need to decode the manif only r will work but be usless in my case 2 if you be try to install a modify apk do you resign it not relate to my issue 3 be you use the late apktool version yes v2 4 0
ibotpeachesapktool
nullpointerexception decode gboard 8 2 2
Bug
information 1 apktool version apktool version 2 4 0 2 operating system mac linux windows linux window 3 apk from playstore rom other play store stacktrace logcat s warning could not write to home skull local share apktool framework use tmp instead s please be aware this be a volatile directory and framework could go miss please utilize frame path if the default storage directory be unavailable exception in thread main java lang nullpointerexception at org xmlpull rename mxserializer writeelementcontent mxserializer java 1016 at org xmlpull rename mxserializer text mxserializer java 848 at org xmlpull v1 wrapper classic xmlserializerdelegate text xmlserializerdelegate java 98 at org xmlpull v1 wrapper classic staticxmlserializerwrapper event staticxmlserializerwrapper java 226 at brut androlib re decoder xmlpullstreamdecoder 1 event xmlpullstreamdecoder java 83 at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 141 at brut androlib re decoder resstreamdecodercontainer decode resstreamdecodercontainer java 33 at brut androlib re decoder resfiledecoder decode resfiledecoder java 135 at brut androlib re decoder resfiledecoder decode resfiledecoder java 120 at brut androlib re androlibresource decode androlibresource java 258 at brut androlib androlib decoderesourcesfull androlib java 131 at brut androlib apkdecoder decode apkdecoder java 124 at brut apktool main cmddecode main java 164 at brut apktool main main main java 73 step to reproduce 1 apktool d com google android inputmethod latin 8 2 2 244669451 beta arm64 v8a apk apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it n a 3 be you use the late apktool version yes
ibotpeachesapktool
warning could not write to use tmp instead
Bug
information 1 apktool version apktool version 2 4 0 2 operating system mac linux windows linux from archlinux aur package step to reproduce 1 install apktool on new pc or delete local share apktool framework 2 run any decompilation like apktool d app apk expectation any local folder and file should be create if miss like other program fix warning by yourself mkdir p local share apktool framework
ibotpeachesapktool
single bag item treat as style null array
Bug
information 1 apktool version apktool version 2 3 4 2 operating system mac linux window window 3 apk from playstore rom other playstore other all stacktrace logcat hi nowadays I do the same with every application I don t know the cause unfortunately I can t do translator work I also try the apktool empty framework dir force command I didn t get a solution decompiling batch apktool 3 7 2 apktool apktool 2 3 4 jar build in expert mode yes sign output apks yes decompile pacecalendarwidget 1 9 3 apk I use apktool 2 3 4 on pacecalendarwidget 1 9 3 apk I load resource table I decode androidmanif xml with resource I load resource table from file bin framework 1 apk I regular manifest package I decode file resource I decode value xmls I baksmale class dex I baksmale classes2 dex I copy asset and lib I copy unknown file I copy original file do elapse time 1 min 10 sec compile batch apktool 3 7 2 apktool apktool 2 3 4 jar build in expert mode yes sign output apks yes recompile pacecalendarwidget 1 9 3 I use apktool 2 3 4 I check whether source have change I smale smali folder into class dex I check whether source have change I smale smali classes2 folder into classes2 dex I check whether resource have change I build resource w fakelogopen dev log system fail w fakelogopen dev log system fail w fakelogopen dev log crash fail w fakelogopen dev log crash fail w fakelogopen dev log stat fail w fakelogopen dev log stat fail w fakelogopen dev log crash fail w fakelogopen dev log stat fail w fakelogopen dev log crash fail w fakelogopen dev log stat fail w c batchapktool input apk pacecalendarwidget 1 9 3 re value public xml 15 error public symbol array spring depend declare here be not define brut androlib androlibexception brut common brutexception could not exec exit code 1 c user gidan appdata local temp bat temp brut util jar 970597896526104612 tmp p force package i d 127 min sdk version 21 target sdk version 27 version code 20190207 version name 1 9 3 no version vector f c user gidan appdata local temp bat temp apktool4172814149355971441 tmp 0 arsc 0 meta inf android arch core runtime version 0 meta inf android arch lifecycle livedata core version 0 meta inf android arch lifecycle runtime version 0 meta inf android arch lifecycle viewmodel version 0 meta inf com android support animate vector drawable version 0 meta inf com android support appcompat v7 version 0 meta inf com android support support compat version 0 meta inf com android support support core ui version 0 meta inf com android support support core util version 0 meta inf com android support support fragment version 0 meta inf com android support support vector drawable version 0 meta inf services org threeten bp zone zonerulesprovider 0 re drawable hdpi v4 abc ab share pack mtrl alpha 9 png 0 png 0 re drawable hdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable hdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable hdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable hdpi v4 abc list divid mtrl alpha 9 png 0 re drawable hdpi v4 abc list focus holo 9 png 0 re drawable hdpi v4 abc list longpresse holo 9 png 0 re drawable hdpi v4 abc list press holo dark 9 png 0 re drawable hdpi v4 abc list press holo light 9 png 0 re drawable hdpi v4 abc list selector disable holo dark 9 png 0 re drawable hdpi v4 abc list selector disable holo light 9 png 0 re drawable hdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable hdpi v4 abc popup background mtrl mult 9 png 0 re drawable hdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable hdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable hdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable hdpi v4 abc switch track mtrl alpha 9 png 0 re drawable hdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable hdpi v4 notification bg low normal 9 png 0 re drawable hdpi v4 notification bg low press 9 png 0 re drawable hdpi v4 notification bg normal 9 png 0 re drawable hdpi v4 notification bg normal press 9 png 0 re drawable ldrtl hdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl mdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl xhdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl xxhdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl xxxhdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable mdpi v4 abc ab share pack mtrl alpha 9 png 0 re drawable mdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable mdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable mdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable mdpi v4 abc list divid mtrl alpha 9 png 0 re drawable mdpi v4 abc list focus holo 9 png 0 re drawable mdpi v4 abc list longpresse holo 9 png 0 re drawable mdpi v4 abc list press holo dark 9 png 0 re drawable mdpi v4 abc list press holo light 9 png 0 re drawable mdpi v4 abc list selector disable holo dark 9 png 0 re drawable mdpi v4 abc list selector disable holo light 9 png 0 re drawable mdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable mdpi v4 abc popup background mtrl mult 9 png 0 re drawable mdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable mdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable mdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable mdpi v4 abc switch track mtrl alpha 9 png 0 re drawable mdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable mdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable mdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable mdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable mdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable mdpi v4 notification bg low normal 9 png 0 re drawable mdpi v4 notification bg low press 9 png 0 re drawable mdpi v4 notification bg normal 9 png 0 re drawable mdpi v4 notification bg normal press 9 png 0 re drawable xhdpi v4 abc ab share pack mtrl alpha 9 png 0 re drawable xhdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable xhdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable xhdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable xhdpi v4 abc list divid mtrl alpha 9 png 0 re drawable xhdpi v4 abc list focus holo 9 png 0 re drawable xhdpi v4 abc list longpresse holo 9 png 0 re drawable xhdpi v4 abc list press holo dark 9 png 0 re drawable xhdpi v4 abc list press holo light 9 png 0 re drawable xhdpi v4 abc list selector disable holo dark 9 png 0 re drawable xhdpi v4 abc list selector disable holo light 9 png 0 re drawable xhdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable xhdpi v4 abc popup background mtrl mult 9 png 0 re drawable xhdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable xhdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable xhdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable xhdpi v4 abc switch track mtrl alpha 9 png 0 re drawable xhdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable xhdpi v4 notification bg low normal 9 png 0 re drawable xhdpi v4 notification bg low press 9 png 0 re drawable xhdpi v4 notification bg normal 9 png 0 re drawable xhdpi v4 notification bg normal press 9 png 0 re drawable xxhdpi v4 abc ab share pack mtrl alpha 9 png 0 re drawable xxhdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable xxhdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable xxhdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable xxhdpi v4 abc list divid mtrl alpha 9 png 0 re drawable xxhdpi v4 abc list focus holo 9 png 0 re drawable xxhdpi v4 abc list longpresse holo 9 png 0 re drawable xxhdpi v4 abc list press holo dark 9 png 0 re drawable xxhdpi v4 abc list press holo light 9 png 0 re drawable xxhdpi v4 abc list selector disable holo dark 9 png 0 re drawable xxhdpi v4 abc list selector disable holo light 9 png 0 re drawable xxhdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable xxhdpi v4 abc popup background mtrl mult 9 png 0 re drawable xxhdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable xxhdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable xxhdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable xxhdpi v4 abc switch track mtrl alpha 9 png 0 re drawable xxhdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable xxxhdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable xxxhdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable xxxhdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable xxxhdpi v4 abc switch track mtrl alpha 9 png 0 re drawable xxxhdpi v4 abc tab indicator mtrl alpha 9 png 0 arsc I bin framework 1 apk s c batchapktool input apk pacecalendarwidget 1 9 3 re m c batchapktool input apk pacecalendarwidget 1 9 3 androidmanif xml error recompile pacecalendarwidget 1 9 3 do with 1 error elapse time 29 sec what be the solution sincerelly gidano pacecalendarwidget 1 9 3 apk zip magisk manager v7 0 0 apk zip 1 1 1 1 fast safe internet v1 3 7 apk zip step to reproduce 1 apktool framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it yes 3 be you use the late apktool version yes
ibotpeachesapktool
array parse in resource
Bug
information apktool version 2 4 0 29355f snapshot error with parse resource I be use this apk after decode in file re value array xml contain the follow code public xml code I m try to list file of this apk via aapt exe and fount this type 2 configcount 1 entrycount 8 spec resource 0x7f030000 com avito android array autoteka benefit flag 0x00000000 spec resource 0x7f030001 com avito android array loader circle color flag 0x00000000 spec resource 0x7f030002 com avito android array loader circle size flag 0x00000000 spec resource 0x7f030003 com avito android array messenger attachment option flag 0x00000000 spec resource 0x7f030004 com avito android array messenger attachment option legacy flag 0x00000000 spec resource 0x7f030005 com avito android array on day of week flag 0x00000000 spec resource 0x7f030006 com avito android array pull refresh color scheme flag 0x00000000 spec resource 0x7f030007 com avito android array rating score text flag 0x00000000 config default resource 0x7f030000 com avito android array autoteka benefit resource 0x7f030001 com avito android array loader circle color resource 0x7f030002 com avito android array loader circle size resource 0x7f030003 com avito android array messenger attachment option resource 0x7f030004 com avito android array messenger attachment option legacy resource 0x7f030005 com avito android array on day of week resource 0x7f030006 com avito android array pull refresh color scheme resource 0x7f030007 com avito android array rating score text and aapt2 exe android asset packaging tool aapt 2 19 print this type array i d 03 entrycount 8 resource 0x7f030000 array autoteka benefit array size 10 resource 0x7f030001 array loader circle color array size 4 color blue color red color green color purple resource 0x7f030002 array loader circle size array size 4 44 34 54 25 resource 0x7f030003 array messenger attachment option array size 3 resource 0x7f030004 array messenger attachment option legacy array size 2 resource 0x7f030005 array on day of week array size 7 resource 0x7f030006 array pull refresh color scheme array size 4 color blue color purple color green color red resource 0x7f030007 array rating score text array size 6 your program do not correctly identify the array and its content
ibotpeachesapktool
motorola moto z3 play android 8 1 config flag size 56 size 64
Bug
information 1 apktool version apktool 2 3 4 2 operating system window 3 apk from stock rom stacktrace include stacktrace here c user s3v3n desktop apk z3 apktool if framework re apk w duplicate resource detect ignore duplicate string mcc310 mnc00 hd call creteria w duplicate resource detect ignore duplicate string mcc310 mnc00 en rxa hd call creteria w duplicate resource detect ignore duplicate string mcc310 mnc00 ar rxb hd call creteria w duplicate resource detect ignore duplicate array mcc310 mnc00 config spn display rule w duplicate resource detect ignore duplicate array mcc310 mnc00 persist cdma home operator w config flag size 56 size 64 exceed byte 0x1666221400000000 w invalid config flag detect array mcc204 mnc4 err0 w config flag size 56 size 64 exceed byte 0x5c4a190000000000 w invalid config flag detect array mcc310 mnc260 err1 w config flag size 56 size 64 exceed byte 0x40f92e0000000000 w invalid config flag detect array mcc310 mnc410 err2 w config flag size 56 size 64 exceed byte 0x1fd2e0000000000 w invalid config flag detect array mcc310 mnc410 err3 w duplicate resource detect ignore duplicate integer mcc310 mnc00 config volte replacement rat w duplicate resource detect ignore duplicate bool mcc310 mnc00 cdma same nai w duplicate resource detect ignore duplicate bool mcc310 mnc00 config api setakey be enable w duplicate resource detect ignore duplicate bool mcc310 mnc00 config need otasp w duplicate resource detect ignore duplicate bool mcc310 mnc00 mdn min for non provision csim w config flag size 56 size 64 exceed byte 0x1666221400000000 w invalid config flag detect bool mcc204 mnc4 err4 w config flag size 56 size 64 exceed byte 0x3f8c1f6200000000 w invalid config flag detect bool mcc311 mnc650 err5 I framework instal to c user s3v3n appdata local apktool framework 1 apk framework if this apk be from motorola moto z3 play android 8 1 stock apk framework link
ibotpeachesapktool
resource entry already have bag item double entity
Bug
information 1 apktool version apktool version 2 3 4 2 operating system mac linux window window 3 apk from playstore rom other rom stacktrace logcat w e android g androiddev advancedapktool 3 out framework re apk re value style xml 2452 error resource entry theme devicedefault already have bag item dropdownlistpreferreditemheight w e android g androiddev advancedapktool 3 out framework re apk re value style xml 2451 originally define here step to reproduce 1 apktool if framework re apk 2 apktool d framework re apk 3 apktool b framework re question to ask before submission 1 have you try apktool d apktool b without change anything 2 if you be try to install a modify apk do you resign it 3 be you use the late apktool version
ibotpeachesapktool
decompile res var arrays xml use style element instead of string array element
Bug
information 1 apktool version 2 3 4 2 operating system window 3 playstore stacktrace logcat n a step to reproduce 1 decompile an apk with array define in resource 2 recompile apk without touch the code re value array xml do not contain string array element but style element replace style with string array fix the issue and allow build
ibotpeachesapktool
can not compile apk problem during build
Bug
information 1 apktool version apktool version 2 3 4 2 operating system mac linux window window 3 apk from playstore rom other apkmirror stacktrace logcat I use apktool 2 3 4 I check whether resource have change I build resource w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 54 error public symbol array defaultaction declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 55 error public symbol array defaultactionsvalue declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 56 error public symbol array fontvalue declare here be not define brut androlib androlibexception brut common brutexception could not exec exit code 1 c user daniel appdata local temp brut util jar 2978718851619109034 tmp p force package i d 127 min sdk version 21 target sdk version 22 version code 371 version name 9 0 72 no version vector f c user daniel appdata local temp apktool6063945892517520887 tmp 0 arsc 0 meta inf android support design material version 0 meta inf androidx appcompat appcompat version 0 meta inf androidx arch core core runtime version 0 meta inf androidx asynclayoutinflater asynclayoutinflater version 0 meta inf androidx browser browser version 0 meta inf androidx cardview cardview version 0 meta inf androidx coordinatorlayout coordinatorlayout version 0 meta inf androidx core core version 0 meta inf androidx cursoradapter cursoradapter version 0 meta inf androidx customview customview version 0 meta inf androidx documentfile documentfile version 0 meta inf androidx drawerlayout drawerlayout version 0 meta inf androidx fragment fragment version 0 meta inf androidx interpolator interpolator version 0 meta inf androidx legacy legacy support core ui version 0 meta inf androidx legacy legacy support core util version 0 meta inf androidx legacy legacy support v4 version 0 meta inf androidx lifecycle lifecycle livedata core version 0 meta inf androidx lifecycle lifecycle livedata version 0 meta inf androidx lifecycle lifecycle runtime version 0 meta inf androidx lifecycle lifecycle viewmodel version 0 meta inf androidx loader loader version 0 meta inf androidx localbroadcastmanager localbroadcastmanager version 0 meta inf androidx medium medium version 0 meta inf androidx palette palette version 0 meta inf androidx percentlayout percentlayout version 0 meta inf androidx print print version 0 meta inf androidx recyclerview recyclerview version 0 meta inf androidx slidingpanelayout slidingpanelayout version 0 meta inf androidx swiperefreshlayout swiperefreshlayout version 0 meta inf androidx transition transition version 0 meta inf androidx vectordrawable vectordrawable animate version 0 meta inf androidx vectordrawable vectordrawable version 0 meta inf androidx versionedparcelable versionedparcelable version 0 meta inf androidx viewpager viewpager version 0 meta inf com google android material material version 0 property 0 png 0 re drawable hdpi v4 abc ab share pack mtrl alpha 9 png 0 re drawable hdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable hdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable hdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable hdpi v4 abc list divid mtrl alpha 9 png 0 re drawable hdpi v4 abc list focus holo 9 png 0 re drawable hdpi v4 abc list longpresse holo 9 png 0 re drawable hdpi v4 abc list press holo dark 9 png 0 re drawable hdpi v4 abc list press holo light 9 png 0 re drawable hdpi v4 abc list selector disable holo dark 9 png 0 re drawable hdpi v4 abc list selector disable holo light 9 png 0 re drawable hdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable hdpi v4 abc popup background mtrl mult 9 png 0 re drawable hdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable hdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable hdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable hdpi v4 abc switch track mtrl alpha 9 png 0 re drawable hdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable hdpi v4 common google signin btn icon dark normal background 9 png 0 re drawable hdpi v4 common google signin btn icon light normal background 9 png 0 re drawable hdpi v4 common google signin btn text dark normal background 9 png 0 re drawable hdpi v4 common google signin btn text light normal background 9 png 0 re drawable hdpi v4 ic story hide 9 png 0 re drawable hdpi v4 notification bg low normal 9 png 0 re drawable hdpi v4 notification bg low press 9 png 0 re drawable hdpi v4 notification bg normal 9 png 0 re drawable hdpi v4 notification bg normal press 9 png 0 re drawable hdpi v4 quickcontact drop shadow 9 png 0 re drawable hdpi v4 toast frame 9 png 0 re drawable hdpi v4 tooltip bottom frame 9 png 0 re drawable hdpi v4 tooltip top frame 9 png 0 re drawable ldpi v4 toast frame 9 png 0 re drawable ldrtl hdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl mdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl xhdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl xxhdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl xxxhdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable mdpi v4 abc ab share pack mtrl alpha 9 png 0 re drawable mdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable mdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable mdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable mdpi v4 abc list divid mtrl alpha 9 png 0 re drawable mdpi v4 abc list focus holo 9 png 0 re drawable mdpi v4 abc list longpresse holo 9 png 0 re drawable mdpi v4 abc list press holo dark 9 png 0 re drawable mdpi v4 abc list press holo light 9 png 0 re drawable mdpi v4 abc list selector disable holo dark 9 png 0 re drawable mdpi v4 abc list selector disable holo light 9 png 0 re drawable mdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable mdpi v4 abc popup background mtrl mult 9 png 0 re drawable mdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable mdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable mdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable mdpi v4 abc switch track mtrl alpha 9 png 0 re drawable mdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable mdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable mdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable mdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable mdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable mdpi v4 common google signin btn icon dark normal background 9 png 0 re drawable mdpi v4 common google signin btn icon light normal background 9 png 0 re drawable mdpi v4 common google signin btn text dark normal background 9 png 0 re drawable mdpi v4 common google signin btn text light normal background 9 png 0 re drawable mdpi v4 ic story hide 9 png 0 re drawable mdpi v4 notification bg low normal 9 png 0 re drawable mdpi v4 notification bg low press 9 png 0 re drawable mdpi v4 notification bg normal 9 png 0 re drawable mdpi v4 notification bg normal press 9 png 0 re drawable mdpi v4 toast frame 9 png 0 re drawable nodpi v4 abs dialog full holo dark 9 png 0 re drawable nodpi v4 abs dialog full holo light 9 png 0 re drawable nodpi v4 background card dark 9 png 0 re drawable nodpi v4 bg divider black 9 png 0 re drawable nodpi v4 bg divider blue 50 dark 9 png 0 re drawable nodpi v4 bg divider blue 50 light 9 png 0 re drawable nodpi v4 bg divider blue dark 9 png 0 re drawable nodpi v4 bg divider blue light 9 png 0 re drawable nodpi v4 bg divider dark blue 9 png 0 re drawable nodpi v4 bg divider grey 9 png 0 re drawable nodpi v4 bg divider highlight dark 9 png 0 re drawable nodpi v4 bg divider highlight light 9 png 0 re drawable nodpi v4 bg divider view dark 9 png 0 re drawable nodpi v4 bg divider view light 9 png 0 re drawable nodpi v4 bg divider white 9 png 0 re drawable nodpi v4 bottom shadow 9 png 0 re drawable nodpi v4 card bg dark 9 png 0 re drawable nodpi v4 card bg highlight dark 9 png 0 re drawable nodpi v4 card bg highlight light 9 png 0 re drawable nodpi v4 card bg light 9 png 0 re drawable nodpi v4 card bg read dark 9 png 0 re drawable nodpi v4 card bg read light 9 png 0 re drawable nodpi v4 dark header 9 png 0 re drawable nodpi v4 divider dark 9 png 0 re drawable nodpi v4 divider light 9 png 0 re drawable nodpi v4 holo black dark card 9 png 0 re drawable nodpi v4 holo black view dark card 9 png 0 re drawable nodpi v4 holo blue dark card 9 png 0 re drawable nodpi v4 holo blue dark card 50 9 png 0 re drawable nodpi v4 holo blue dark highlight card 9 png 0 re drawable xhdpi v4 abc ab share pack mtrl alpha 9 png 0 re drawable xhdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable xhdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable xhdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable xhdpi v4 abc list divid mtrl alpha 9 png 0 re drawable xhdpi v4 abc list focus holo 9 png 0 re drawable xhdpi v4 abc list longpresse holo 9 png 0 re drawable xhdpi v4 abc list press holo dark 9 png 0 re drawable xhdpi v4 abc list press holo light 9 png 0 re drawable xhdpi v4 abc list selector disable holo dark 9 png 0 re drawable xhdpi v4 abc list selector disable holo light 9 png 0 re drawable xhdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable xhdpi v4 abc popup background mtrl mult 9 png 0 re drawable xhdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable xhdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable xhdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable xhdpi v4 abc switch track mtrl alpha 9 png 0 re drawable xhdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable xhdpi v4 button focus 9 png 0 re drawable xhdpi v4 button press 9 png 0 re drawable xhdpi v4 common google signin btn icon dark normal background 9 png 0 re drawable xhdpi v4 common google signin btn icon light normal background 9 png 0 re drawable xhdpi v4 common google signin btn text dark normal background 9 png 0 re drawable xhdpi v4 common google signin btn text light normal background 9 png 0 re drawable xhdpi v4 ic story hide 9 png 0 re drawable xhdpi v4 notification bg low normal 9 png 0 re drawable xhdpi v4 notification bg low press 9 png 0 re drawable xhdpi v4 notification bg normal 9 png 0 re drawable xhdpi v4 notification bg normal press 9 png 0 re drawable xhdpi v4 toast frame 9 png 0 re drawable xxhdpi v4 abc ab share pack mtrl alpha 9 png 0 re drawable xxhdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable xxhdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable xxhdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable xxhdpi v4 abc list divid mtrl alpha 9 png 0 re drawable xxhdpi v4 abc list focus holo 9 png 0 re drawable xxhdpi v4 abc list longpresse holo 9 png 0 re drawable xxhdpi v4 abc list press holo dark 9 png 0 re drawable xxhdpi v4 abc list press holo light 9 png 0 re drawable xxhdpi v4 abc list selector disable holo dark 9 png 0 re drawable xxhdpi v4 abc list selector disable holo light 9 png 0 re drawable xxhdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable xxhdpi v4 abc popup background mtrl mult 9 png 0 re drawable xxhdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable xxhdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable xxhdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable xxhdpi v4 abc switch track mtrl alpha 9 png 0 re drawable xxhdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable xxhdpi v4 common google signin btn icon dark normal background 9 png 0 re drawable xxhdpi v4 common google signin btn icon light normal background 9 png 0 re drawable xxhdpi v4 common google signin btn text dark normal background 9 png 0 re drawable xxhdpi v4 common google signin btn text light normal background 9 png 0 re drawable xxhdpi v4 leave shadow 9 png 0 re drawable xxhdpi v4 right shadow 9 png 0 re drawable xxhdpi v4 toast frame 9 png 0 re drawable xxxhdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable xxxhdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable xxxhdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable xxxhdpi v4 abc switch track mtrl alpha 9 png 0 re drawable xxxhdpi v4 abc tab indicator mtrl alpha 9 png 0 arsc I c user daniel appdata local apktool framework 1 apk s t librarie programming decompile apktool relay 9 0 72 original source re m t librarie programming decompile apktool relay 9 0 72 original source androidmanifest xml w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 57 error public symbol array font declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 58 error public symbol array mailname declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 59 error public symbol array mailvalue declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 60 error public symbol array prefetchnames declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 61 error public symbol array prefetchvalue declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 62 error public symbol array textsize declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 63 error public symbol array textvalue declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 64 error public symbol array themevalue declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 65 error public symbol array themes declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 66 error public symbol array viewvalue declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 67 error public symbol array viewvaluesbeta declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 68 error public symbol array view declare here be not define w t librarie programming decompile apktool relay 9 0 72 original source re value public xml 69 error public symbol array viewsbeta declare here be not define step to reproduce 1 download apk and decompile it 2 attempt to recompile source framework not an apk from an oem rom apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it build error 3 be you use the late apktool version yes
ibotpeachesapktool
platformbuildversion information change unexpectedly
Bug
information 1 apktool version apktool version 2 3 4 2 operating system mac linux windows mac 10 13 3 apk from playstore rom other own step to reproduce 1 delete all previous framework 2 decompile apk get manifest with the follow platformbuildversioncode 27 platformbuildversionname 8 1 0 3 recompile apk then decompile again and the manifest contain the follow platformbuildversioncode 23 platformbuildversionname 6 0 2438415 so now playstore be reject the apk what be I miss or be this a real issue question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it n a 3 be you use the late apktool version yes
ibotpeachesapktool
can t decompile hangout v26
Bug
information 1 2 3 4 6231ed snapshot 2 mac 3 apk mirror stacktrace logcat I use apktool 2 3 4 6231ed snapshot on hangout old apk I load resource table exception in thread main brut androlib androlibexception could not decode arsc file at brut androlib re decoder arscdecoder decode arscdecoder java 53 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 741 at brut androlib re androlibresource loadmainpkg androlibresource java 67 at brut androlib re androlibresource getrestable androlibresource java 59 at brut androlib androlib getrestable androlib java 68 at brut androlib apkdecoder settargetsdkversion apkdecoder java 228 at brut androlib apkdecoder decode apkdecoder java 118 at brut apktool main cmddecode main java 164 at brut apktool main main main java 73 cause by java io ioexception expect 0x00000008 get 0x00000202 at brut util extdatainput skipcheckshort extdatainput java 56 at brut androlib re decoder arscdecoder readvalue arscdecoder java 354 at brut androlib re decoder arscdecoder readentrydata arscdecoder java 276 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 252 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 175 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 131 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 82 at brut androlib re decoder arscdecoder decode arscdecoder java 48 8 more step to reproduce 1 apktool d hangout apk apk
ibotpeachesapktool
getnondefaultnamespaceuri nullpointerexception
Bug
information 1 apktool version apktool version 2 3 4 6231ed snapshot 2 operating system mac linux window linuxmint 19 3 apk from playstore rom other playstore stacktrace logcat xxx xxx xxx xxx xxx apktool d base apk I use apktool 2 3 4 6231ed snapshot on base apk I load resource table I decode androidmanif xml with resource s warning could not write to home xxx local share apktool framework use tmp instead s please be aware this be a volatile directory and framework could go miss please utilize frame path if the default storage directory be unavailable I load resource table from file tmp 1 apk I regular manifest package I decode file resource exception in thread main java lang nullpointerexception at brut androlib re decoder axmlresourceparser getnondefaultnamespaceuri axmlresourceparser java 312 at brut androlib re decoder axmlresourceparser getattributenamespace axmlresourceparser java 299 at org xmlpull v1 wrapper classic xmlpullparserdelegate getattributenamespace xmlpullparserdelegate java 176 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 re decoder xmlpullstreamdecoder 1 event xmlpullstreamdecoder java 83 at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 141 at brut androlib re decoder resstreamdecodercontainer decode resstreamdecodercontainer java 33 at brut androlib re decoder resfiledecoder decode resfiledecoder java 135 at brut androlib re decoder resfiledecoder decode resfiledecoder java 120 at brut androlib re androlibresource decode androlibresource java 258 at brut androlib androlib decoderesourcesfull androlib java 131 at brut androlib apkdecoder decode apkdecoder java 124 at brut apktool main cmddecode main java 164 at brut apktool main main main java 73 xxx xxx xxx xxx xxx apktool d p home xxx apktool apk jar framework res apk base apk f I use apktool 2 3 4 6231ed snapshot on base apk I load resource table I decode androidmanif xml with resource w could not decode attr value use undecoded value instead n android name versioncode value 0x0000003c w could not decode attr value use undecoded value instead n android name versioncode value 0x0000003c w could not decode attr value use undecoded value instead n name value 0x00000024 w could not decode attr value use undecoded value instead n name value 0x00000010 w could not decode attr value use undecoded value instead n name value 0x00000010 w could not decode attr value use undecoded value instead n name value 0x00000017 w could not decode attr value use undecoded value instead n name value 0x00000069 w could not decode attr value use undecoded value instead n name value 0x00000002 w could not decode attr value use undecoded value instead n name value 0x0000003f w could not decode attr value use undecoded value instead n name value 0x00000039 w could not decode attr value use undecoded value instead n name value 0x00000038 w could not decode attr value use undecoded value instead n name value 0x00000044 w could not decode attr value use undecoded value instead n name value 0x00000040 w could not decode attr value use undecoded value instead n name value 0x00000041 w could not decode attr value use undecoded value instead n name value 0x0000004b w could not decode attr value use undecoded value instead n name value 0x0000003d w could not decode attr value use undecoded value instead n name value 0x00000048 w could not decode attr value use undecoded value instead n name value 0x0000003a w could not decode attr value use undecoded value instead n name value 0x00000047 w could not decode attr value use undecoded value instead n name value 0x000000a9 w could not decode attr value use undecoded value instead n name value 0x0000004a w could not decode attr value use undecoded value instead n name value 0x0000004c w could not decode attr value use undecoded value instead n name value 0x0000003c w could not decode attr value use undecoded value instead n name value 0x00000049 w could not decode attr value use undecoded value instead n name value 0x00000046 w could not decode attr value use undecoded value instead n name value 0x00000068 w could not decode attr value use undecoded value instead n name value 0x00000002 w could not decode attr value use undecoded value instead n name value 0x00000068 w could not decode attr value use undecoded value instead n name value 0x00000031 w could not decode attr value use undecoded value instead n name value 0x00000045 w could not decode attr value use undecoded value instead n name value 0x00000042 w could not decode attr value use undecoded value instead n name value 0x00020000 w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0x00000043 w could not decode attr value use undecoded value instead n name value 0x7f12001b w could not decode attr value use undecoded value instead n name value 0x7f110198 w could not decode attr value use undecoded value instead n android name icon value 0x7f0e0000 w could not decode attr value use undecoded value instead n name value 0x00000060 w could not decode attr value use undecoded value instead n name value 0x00ba5338 w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n android name name value 0x00000037 w could not decode attr value use undecoded value instead n android name value value 0x40066666 w could not decode attr value use undecoded value instead n android name name value 0x000000d5 w could not decode attr value use undecoded value instead n android name value value 0x00000054 w could not decode attr value use undecoded value instead n name value 0x00000098 w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x00000099 w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n android name name value 0x000000b8 w could not decode attr value use undecoded value instead n android name value value 0x00000026 w could not decode attr value use undecoded value instead n android name name value 0x000000b7 w could not decode attr value use undecoded value instead n android name value value 0x00ba5338 w could not decode attr value use undecoded value instead n android name name value 0x00000028 w could not decode attr value use undecoded value instead n android name value value 0x000000d3 w could not decode attr value use undecoded value instead n android name name value 0x00000027 w could not decode attr value use undecoded value instead n android name value value 0x0000002d w could not decode attr value use undecoded value instead n name value 0x01030010 w could not decode attr value use undecoded value instead n android name name value 0x000000ce w could not decode attr value use undecoded value instead n name value 0x000000a0 w could not decode attr value use undecoded value instead n android name name value 0x0000008c w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f1200e4 w could not decode attr value use undecoded value instead n android name name value 0x0000007f w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f1200df w could not decode attr value use undecoded value instead n android name name value 0x00000070 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f1102f0 w could not decode attr value use undecoded value instead n android name name value 0x0000007e w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f1102ec w could not decode attr value use undecoded value instead n android name name value 0x0000007c w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f11032b w could not decode attr value use undecoded value instead n android name name value 0x00000072 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f11033a w could not decode attr value use undecoded value instead n android name name value 0x000000a7 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x0000009c w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000088 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000089 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x000000a1 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f1200d7 w could not decode attr value use undecoded value instead n android name name value 0x0000008f w could not decode attr value use undecoded value instead n name value 0x00000002 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000082 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000081 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000033 w could not decode attr value use undecoded value instead n android name name value 0x00000035 w could not decode attr value use undecoded value instead n android name name value 0x00000034 w could not decode attr value use undecoded value instead n android name scheme value 0x0000002b w could not decode attr value use undecoded value instead n android name host value 0x0000002c w could not decode attr value use undecoded value instead n android name name value 0x000000a5 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000080 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000073 w could not decode attr value use undecoded value instead n name value 0x0000009e w could not decode attr value use undecoded value instead n android name name value 0x00000092 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000058 w could not decode attr value use undecoded value instead n android name value value 0x0000002a w could not decode attr value use undecoded value instead n android name name value 0x0000005b w could not decode attr value use undecoded value instead n android name value value 0x00000025 w could not decode attr value use undecoded value instead n android name name value 0x00000059 w could not decode attr value use undecoded value instead n android name value value 0x00000053 w could not decode attr value use undecoded value instead n name value 0x7f1200e5 w could not decode attr value use undecoded value instead n name value 0x7f11008e w could not decode attr value use undecoded value instead n android name name value 0x000000ca w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x00000010 w could not decode attr value use undecoded value instead n android name name value 0x000000c1 w could not decode attr value use undecoded value instead n name value 0x000000b0 w could not decode attr value use undecoded value instead n name value 0x000000aa w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n android name name value 0x000000a8 w could not decode attr value use undecoded value instead n android name name value 0x00000063 w could not decode attr value use undecoded value instead n name value 0x00000074 w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n android name name value 0x000000a8 w could not decode attr value use undecoded value instead n name value 0x00000075 w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x000000c2 w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n android name name value 0x000000b1 w could not decode attr value use undecoded value instead n name value 0x0000009a w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n android name name value 0x0000005c w could not decode attr value use undecoded value instead n name value 0x00000093 w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n android name name value 0x0000005c w could not decode attr value use undecoded value instead n name value 0x00000097 w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n android name name value 0x0000005c w could not decode attr value use undecoded value instead n name value 0x00000096 w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n android name name value 0x000000b9 w could not decode attr value use undecoded value instead n name value 0x00000095 w could not decode attr value use undecoded value instead n android name name value 0x000000ba w could not decode attr value use undecoded value instead n android name name value 0x0000009b w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x0000007b w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f1200e4 w could not decode attr value use undecoded value instead n android name name value 0x00000084 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x00000012 w could not decode attr value use undecoded value instead n android name name value 0x00000083 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x000000a6 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000078 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000079 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000076 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f1200d7 w could not decode attr value use undecoded value instead n android name name value 0x00000077 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x0000008a w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000061 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000062 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000091 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f110340 w could not decode attr value use undecoded value instead n android name name value 0x0000006a w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f110341 w could not decode attr value use undecoded value instead n android name name value 0x0000007a w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000090 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x00000050 w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x00000066 w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0x0000004e w could not decode attr value use undecoded value instead n name value 0x7f140000 w could not decode attr value use undecoded value instead n android name name value 0x00000071 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x0000008b w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x0000006b w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x0000006e w could not decode attr value use undecoded value instead n name value 0x00000002 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x0000009e w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x0000007d w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x0000009d w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x01030055 w could not decode attr value use undecoded value instead n android name name value 0x0000006d w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000033 w could not decode attr value use undecoded value instead n android name name value 0x00000035 w could not decode attr value use undecoded value instead n android name name value 0x00000034 w could not decode attr value use undecoded value instead n android name scheme value 0x000000d1 w could not decode attr value use undecoded value instead n name value 0x7f12001f w could not decode attr value use undecoded value instead n android name name value 0x000000a0 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000032 w could not decode attr value use undecoded value instead n android name name value 0x00000036 w could not decode attr value use undecoded value instead n name value 0x7f12001b w could not decode attr value use undecoded value instead n android name name value 0x0000006f w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f12001b w could not decode attr value use undecoded value instead n android name name value 0x0000006c w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x00000085 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x00000010 w could not decode attr value use undecoded value instead n android name name value 0x00000086 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x00000010 w could not decode attr value use undecoded value instead n android name name value 0x00000087 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x00000010 w could not decode attr value use undecoded value instead n android name name value 0x00000056 w could not decode attr value use undecoded value instead n android name value value 0x00000029 w could not decode attr value use undecoded value instead n name value 0x00000057 w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n android name name value 0x00000055 w could not decode attr value use undecoded value instead n name value 0x0000009f w could not decode attr value use undecoded value instead n name value 0x000003e8 w could not decode attr value use undecoded value instead n android name name value 0x0000004d w could not decode attr value use undecoded value instead n android name name value 0x0000008d w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x000000c3 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x000000c6 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x00000094 w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n android name name value 0x000000a2 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f1200de w could not decode attr value use undecoded value instead n android name name value 0x0000008e w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x000000c5 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x000000c4 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x7f120101 w could not decode attr value use undecoded value instead n android name name value 0x000000a4 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n android name name value 0x000000c8 w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x000000a3 w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x7f120101 w could not decode attr value use undecoded value instead n android name name value 0x000000c7 w could not decode attr value use undecoded value instead n android name name value 0x0000005a w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0x000000cf w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x00000064 w could not decode attr value use undecoded value instead n android name name value 0x0000004f w could not decode attr value use undecoded value instead n android name value value 0x00000023 w could not decode attr value use undecoded value instead n name value 0x01030010 w could not decode attr value use undecoded value instead n android name name value 0x000000ac w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0x000000ab w could not decode attr value use undecoded value instead n name value 0x000000ad w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0x01030010 w could not decode attr value use undecoded value instead n android name name value 0x000000bc w could not decode attr value use undecoded value instead n name value 0x000000bb w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0x00000003 w could not decode attr value use undecoded value instead n name value 0x000000bf w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0xfffffe0c w could not decode attr value use undecoded value instead n android name name value 0x000000ba w could not decode attr value use undecoded value instead n name value 0x000000b4 w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x000000b2 w could not decode attr value use undecoded value instead n name value 0x0000003e w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n android name name value 0x00000055 w could not decode attr value use undecoded value instead n name value 0x000000b5 w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x000000b3 w could not decode attr value use undecoded value instead n name value 0x0000003b w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x01030010 w could not decode attr value use undecoded value instead n android name name value 0x000000ae w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x000000bd w could not decode attr value use undecoded value instead n name value 0x000000aa w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n android name name value 0x000000a8 w could not decode attr value use undecoded value instead n android name name value 0x00000063 w could not decode attr value use undecoded value instead n name value 0x000000be w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0xfffffe0c w could not decode attr value use undecoded value instead n android name name value 0x000000b9 w could not decode attr value use undecoded value instead n name value 0x000000c0 w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x00000067 w could not decode attr value use undecoded value instead n name value 0x00000064 w could not decode attr value use undecoded value instead n name value 0x7f120176 w could not decode attr value use undecoded value instead n android name name value 0x0000005e w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x00000010 w could not decode attr value use undecoded value instead n name value 0x7f120176 w could not decode attr value use undecoded value instead n android name name value 0x0000005f w could not decode attr value use undecoded value instead n name value 0x00000001 w could not decode attr value use undecoded value instead n name value 0x00000010 w could not decode attr value use undecoded value instead n name value 0x000000cc w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x000000cb w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x0000005d w could not decode attr value use undecoded value instead n name value 0x000000b6 w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n android name name value 0x000000af w could not decode attr value use undecoded value instead n name value 0x000000cd w could not decode attr value use undecoded value instead n name value 0xffffffff w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x000000c9 w could not decode attr value use undecoded value instead n name value 0x00000000 w could not decode attr value use undecoded value instead n name value 0x00000065 w could not decode attr value use undecoded value instead n name value 0x00000064 I regular manifest package fatal error 4 42 attribute android be already specify for element use sdk I decode file resource exception in thread main java lang nullpointerexception at brut androlib re decoder axmlresourceparser getnondefaultnamespaceuri axmlresourceparser java 312 at brut androlib re decoder axmlresourceparser getattributenamespace axmlresourceparser java 299 at org xmlpull v1 wrapper classic xmlpullparserdelegate getattributenamespace xmlpullparserdelegate java 176 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 re decoder xmlpullstreamdecoder 1 event xmlpullstreamdecoder java 83 at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 141 at brut androlib re decoder resstreamdecodercontainer decode resstreamdecodercontainer java 33 at brut androlib re decoder resfiledecoder decode resfiledecoder java 135 at brut androlib re decoder resfiledecoder decode resfiledecoder java 120 at brut androlib re androlibresource decode androlibresource java 258 at brut androlib androlib decoderesourcesfull androlib java 131 at brut androlib apkdecoder decode apkdecoder java 124 at brut apktool main cmddecode main java 164 at brut apktool main main main java 73 step to reproduce 1 apktool if framework re apk 2 apktool d base apk framework apk question to ask before submission 1 have you try apktool d apktool b without change anything yes I have 2 if you be try to install a modify apk do you resign it not resign yet because apktool not decompile the app 3 be you use the late apktool version I m use 2 3 3 2 3 4 6231ed snapshot both version still can not decompile
ibotpeachesapktool
apk size increase because of empty file
Bug
the problem if an empty file exist in an apk it cause no compression for file with the same extension after rebuild the apk and as a result apk size increase sometimes significantly compare to the original apk this issue be a special case of issue 1572 which can be solve much easy than the whole 1572 1572 be currently block by 1272 that have no plan fix information 1 apktool version snapshot from git master from 2018 07 17 2 3 4 eecfc1 snapshot 2 operating system linux 3 apk from any apk with an empty file and non empty file s with the same extension for example it be possible to take and add the need file there step to reproduce 1 make an apk with an empty zero length file and some big file with the same extension for example into asset folder let s call these file empty dat and big dat don t try to avoid compression of the mention dat file in the apk rather try to add they compress 2 list content of the apk use unzip v command observe big dat be add with deflate compression method into the apk for empty dat the compression do not make sense so it be add with store compression method into the apk 3 rebuild the apk use apktool d and apktool b command check the produce apktool yml file observe dat extension be add to the donotcompress list expect should not be add just because of an empty file with the same extension 4 list content of the rebuilt apk use unzip v command observe both big dat and empty dat use store compression method in the rebuilt apk the rebuilt apk size be significantly big than the original apk size expect big dat should still use deflate method suggest solution currently apktool enforce non compression for file with the same extension if at least one such file be store non compress in the original apk but as mention above compression method concept do not really make sense for zero length file thus compression method should be ignore for zero length file file should not be mark for non compression just because there be an empty file with the same extension the solution be thus to check that a file be not zero length before add its extension to the donotcompress list such solution should be easy to implement question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it n a 3 be you use the late apktool version yes
ibotpeachesapktool
gethtml out of bound large string crash
Bug
information 1 apktool version apktool version 2 3 3 2 operating system mac linux windows mac 3 apk from playstore rom other playstore de dwd warnapp 1915 apk stacktrace logcat I use apktool 2 3 3 on de dwd warnapp 1915 apk I load resource table exception in thread main java lang stringindexoutofboundsexception begin 36 end 9688 length 4449 at java base java lang string checkboundsbeginend string java 3107 at java base java lang string substre string java 1873 at brut androlib re decoder stringblock gethtml stringblock java 164 at brut androlib re decoder arscdecoder readvalue arscdecoder java 360 at brut androlib re decoder arscdecoder readentrydata arscdecoder java 276 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 252 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 175 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 131 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 82 at brut androlib re decoder arscdecoder decode arscdecoder java 48 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 741 at brut androlib re androlibresource loadmainpkg androlibresource java 67 at brut androlib re androlibresource getrestable androlibresource java 59 at brut androlib androlib getrestable androlib java 68 at brut androlib apkdecoder settargetsdkversion apkdecoder java 228 at brut androlib apkdecoder decode apkdecoder java 118 at brut apktool main cmddecode main java 164 at brut apktool main main main java 73 step to reproduce 1 apktool d de dwd warnapp 1915 apk framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app no apk see playstore i d question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it no 3 be you use the late apktool version yes 2 3 3
ibotpeachesapktool
invalid resource directory name doximityx re navigation
Bug
information 1 apktool version apktool version 2 3 3 2 operating system mac linux windows linux 3 apk from playstore rom other other stacktrace logcat I build resource w invalid resource directory name home debug doximityx re navigation brut androlib androlibexception brut common brutexception could not exec exit code 1 tmp brut util jar 7377125473436465143 tmp p force package i d 127 min sdk version 21 target sdk version 27 version code 1967 version name 0 1 no version vector f tmp apktool1274739826272471440 tmp 0 arsc 0 re drawable hdpi v4 abc ab share pack mtrl alpha 9 png 0 png 0 re drawable hdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable hdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable hdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable hdpi v4 abc list divid mtrl alpha 9 png 0 re drawable hdpi v4 abc list focus holo 9 png 0 re drawable hdpi v4 abc list longpresse holo 9 png 0 re drawable hdpi v4 abc list press holo dark 9 png 0 re drawable hdpi v4 abc list press holo light 9 png 0 re drawable hdpi v4 abc list selector disable holo dark 9 png 0 re drawable hdpi v4 abc list selector disable holo light 9 png 0 re drawable hdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable hdpi v4 abc popup background mtrl mult 9 png 0 re drawable hdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable hdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable hdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable hdpi v4 abc switch track mtrl alpha 9 png 0 re drawable hdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable hdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable hdpi v4 common google signin btn icon dark normal background 9 png 0 re drawable hdpi v4 common google signin btn icon light normal background 9 png 0 re drawable hdpi v4 common google signin btn text dark normal background 9 png 0 re drawable hdpi v4 common google signin btn text light normal background 9 png 0 re drawable hdpi v4 notification bg low normal 9 png 0 re drawable hdpi v4 notification bg low press 9 png 0 re drawable hdpi v4 notification bg normal 9 png 0 re drawable hdpi v4 notification bg normal press 9 png 0 re drawable ldrtl hdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl mdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl xhdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl xxhdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable ldrtl xxxhdpi v17 abc spinner mtrl be alpha 9 png 0 re drawable mdpi v4 abc ab share pack mtrl alpha 9 png 0 re drawable mdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable mdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable mdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable mdpi v4 abc list divid mtrl alpha 9 png 0 re drawable mdpi v4 abc list focus holo 9 png 0 re drawable mdpi v4 abc list longpresse holo 9 png 0 re drawable mdpi v4 abc list press holo dark 9 png 0 re drawable mdpi v4 abc list press holo light 9 png 0 re drawable mdpi v4 abc list selector disable holo dark 9 png 0 re drawable mdpi v4 abc list selector disable holo light 9 png 0 re drawable mdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable mdpi v4 abc popup background mtrl mult 9 png 0 re drawable mdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable mdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable mdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable mdpi v4 abc switch track mtrl alpha 9 png 0 re drawable mdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable mdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable mdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable mdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable mdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable mdpi v4 common google signin btn icon dark normal background 9 png 0 re drawable mdpi v4 common google signin btn icon light normal background 9 png 0 re drawable mdpi v4 common google signin btn text dark normal background 9 png 0 re drawable mdpi v4 common google signin btn text light normal background 9 png 0 re drawable mdpi v4 notification bg low normal 9 png 0 re drawable mdpi v4 notification bg low press 9 png 0 re drawable mdpi v4 notification bg normal 9 png 0 re drawable mdpi v4 notification bg normal press 9 png 0 re drawable xhdpi v4 abc ab share pack mtrl alpha 9 png 0 re drawable xhdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable xhdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable xhdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable xhdpi v4 abc list divid mtrl alpha 9 png 0 re drawable xhdpi v4 abc list focus holo 9 png 0 re drawable xhdpi v4 abc list longpresse holo 9 png 0 re drawable xhdpi v4 abc list press holo dark 9 png 0 re drawable xhdpi v4 abc list press holo light 9 png 0 re drawable xhdpi v4 abc list selector disable holo dark 9 png 0 re drawable xhdpi v4 abc list selector disable holo light 9 png 0 re drawable xhdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable xhdpi v4 abc popup background mtrl mult 9 png 0 re drawable xhdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable xhdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable xhdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable xhdpi v4 abc switch track mtrl alpha 9 png 0 re drawable xhdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable xhdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable xhdpi v4 common google signin btn icon dark normal background 9 png 0 re drawable xhdpi v4 common google signin btn icon light normal background 9 png 0 re drawable xhdpi v4 common google signin btn text dark normal background 9 png 0 re drawable xhdpi v4 common google signin btn text light normal background 9 png 0 re drawable xhdpi v4 notification bg low normal 9 png 0 re drawable xhdpi v4 notification bg low press 9 png 0 re drawable xhdpi v4 notification bg normal 9 png 0 re drawable xhdpi v4 notification bg normal press 9 png 0 re drawable xxhdpi v4 abc ab share pack mtrl alpha 9 png 0 re drawable xxhdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable xxhdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable xxhdpi v4 abc cab background top mtrl alpha 9 png 0 re drawable xxhdpi v4 abc list divid mtrl alpha 9 png 0 re drawable xxhdpi v4 abc list focus holo 9 png 0 re drawable xxhdpi v4 abc list longpresse holo 9 png 0 re drawable xxhdpi v4 abc list press holo dark 9 png 0 re drawable xxhdpi v4 abc list press holo light 9 png 0 re drawable xxhdpi v4 abc list selector disable holo dark 9 png 0 re drawable xxhdpi v4 abc list selector disable holo light 9 png 0 re drawable xxhdpi v4 abc menu hardkey panel mtrl mult 9 png 0 re drawable xxhdpi v4 abc popup background mtrl mult 9 png 0 re drawable xxhdpi v4 abc scrubber primary mtrl alpha 9 png 0 re drawable xxhdpi v4 abc scrubber track mtrl alpha 9 png 0 re drawable xxhdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable xxhdpi v4 abc switch track mtrl alpha 9 png 0 re drawable xxhdpi v4 abc tab indicator mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield activate mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield default mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield search activate mtrl alpha 9 png 0 re drawable xxhdpi v4 abc textfield search default mtrl alpha 9 png 0 re drawable xxhdpi v4 common google signin btn icon dark normal background 9 png 0 re drawable xxhdpi v4 common google signin btn icon light normal background 9 png 0 re drawable xxhdpi v4 common google signin btn text dark normal background 9 png 0 re drawable xxhdpi v4 common google signin btn text light normal background 9 png 0 re drawable xxxhdpi v4 abc btn switch to on mtrl 00001 9 png 0 re drawable xxxhdpi v4 abc btn switch to on mtrl 00012 9 png 0 re drawable xxxhdpi v4 abc spinner mtrl be alpha 9 png 0 re drawable xxxhdpi v4 abc switch track mtrl alpha 9 png 0 re drawable xxxhdpi v4 abc tab indicator mtrl alpha 9 png 0 arsc I home binarie apktool framework 1 apk s home debug doximityx 0 1 1967release re m home debug doximityx 0 1 1967release androidmanif xml step to reproduce 1 apktool d doximityx apk 2 apktool b doximityx apk if this apk can be freely share please upload attach a link to it doximityx apk zip question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it no 3 be you use the late apktool version yes
ibotpeachesapktool
bug commit a8bdad62 break audio playback from re raw mp3 by deflate all file in apk
Bug
information 1 apktool version apktool version 2 3 2 2 operating system mac linux windows linux 3 apk from playstore rom other other own build stacktrace logcat original apk from android studio 3 0 2 zipinfo l httptest v12 0ec223d apk archive httptest v12 0ec223d apk zip file size 120666 byte number of entry 30 rw 0 0 fat 2368 b 825 defn 80 000 00 00 00 androidmanifest xml rw 2 4 fat 765 b 596 defn 80 000 00 00 00 meta inf cert rsa rw 2 4 fat 2564 b 1024 defn 80 000 00 00 00 meta inf cert sf rw 2 4 fat 2521 b 967 defn 80 000 00 00 00 meta inf manifest mf rw 2 4 fat 19224 b 9710 defn 80 000 00 00 00 class dex rw 0 0 fat 5696 b 983 defn 80 000 00 00 00 re drawable anydpi v21 ic launcher background xml rw 2 4 fat 730 b 730 stor 80 000 00 00 00 re drawable hdpi v4 ic launcher background png rw 2 4 fat 331 b 331 stor 80 000 00 00 00 re drawable ldpi v4 ic launcher background png rw 2 4 fat 407 b 407 stor 80 000 00 00 00 re drawable mdpi v4 ic launcher background png rw 0 0 fat 752 b 337 defn 80 000 00 00 00 re drawable v24 ic launcher foreground 0 xml rw 0 0 fat 1696 b 744 defn 80 000 00 00 00 re drawable v24 ic launcher foreground xml rw 2 4 fat 1320 b 1320 stor 80 000 00 00 00 re drawable xhdpi v4 ic launcher background png rw 2 4 fat 3254 b 3254 stor 80 000 00 00 00 re drawable xxhdpi v4 ic launcher background png rw 2 4 fat 4380 b 4380 stor 80 000 00 00 00 re drawable xxxhdpi v4 ic launcher background png rw 0 0 fat 1452 b 531 defn 80 000 00 00 00 re layout activity main xml rw 0 0 fat 448 b 220 defn 80 000 00 00 00 re mipmap anydpi v26 ic launcher xml rw 0 0 fat 448 b 220 defn 80 000 00 00 00 re mipmap anydpi v26 ic launcher round xml rw 2 4 fat 3056 b 3056 stor 80 000 00 00 00 re mipmap hdpi v4 ic launcher png rw 2 4 fat 5024 b 5024 stor 80 000 00 00 00 re mipmap hdpi v4 ic launcher round png rw 2 4 fat 2096 b 2096 stor 80 000 00 00 00 re mipmap mdpi v4 ic launcher png rw 2 4 fat 2858 b 2858 stor 80 000 00 00 00 re mipmap mdpi v4 ic launcher round png rw 2 4 fat 4569 b 4569 stor 80 000 00 00 00 re mipmap xhdpi v4 ic launcher png rw 2 4 fat 7098 b 7098 stor 80 000 00 00 00 re mipmap xhdpi v4 ic launcher round png rw 2 4 fat 6464 b 6464 stor 80 000 00 00 00 re mipmap xxhdpi v4 ic launcher png rw 2 4 fat 10676 b 10676 stor 80 000 00 00 00 re mipmap xxhdpi v4 ic launcher round png rw 2 4 fat 9250 b 9250 stor 80 000 00 00 00 re mipmap xxxhdpi v4 ic launcher png rw 2 4 fat 15523 b 15523 stor 80 000 00 00 00 re mipmap xxxhdpi v4 ic launcher round png rw 2 4 fat 2555 b 2555 stor 80 000 00 00 00 re raw channel in mp3 rw 2 4 fat 3605 b 3605 stor 80 000 00 00 00 re raw ptt emg mp3 rw 0 0 fat 4692 b 4692 stor 80 000 00 00 00 resource arsc 30 file 125822 byte uncompress 104045 byte compress 17 3 rebuilt apk use apktool w o commit a8bdad62 archive httptest v12 0ec223d apk zip file size 102541 byte number of entry 27 rw 2 0 fat 2568 bl 911 defn 80 jan 01 03 00 androidmanif xml rw 2 0 fat 19204 bl 9304 defn 80 jan 01 03 00 class dex rw 2 0 fat 6280 bl 1037 defn 80 jan 01 03 00 re drawable anydpi v21 ic launcher background xml rw 1 0 fat 328 b 328 stor 80 jan 01 03 00 re drawable hdpi ic launcher background png rw 1 0 fat 201 b 201 stor 80 jan 01 03 00 re drawable ldpi ic launcher background png rw 1 0 fat 211 b 211 stor 80 jan 01 03 00 re drawable mdpi ic launcher background png rw 2 0 fat 904 bl 358 defn 80 jan 01 03 00 re drawable v24 ic launcher foreground 0 xml rw 2 0 fat 2656 bl 837 defn 80 jan 01 03 00 re drawable v24 ic launcher foreground xml rw 1 0 fat 539 b 539 stor 80 jan 01 03 00 re drawable xhdpi ic launcher background png rw 1 0 fat 844 b 844 stor 80 jan 01 03 00 re drawable xxhdpi ic launcher background png rw 1 0 fat 1113 b 1113 stor 80 jan 01 03 00 re drawable xxxhdpi ic launcher background png rw 2 0 fat 1460 bl 539 defn 80 jan 01 03 00 re layout activity main xml rw 2 0 fat 552 bl 236 defn 80 jan 01 03 00 re mipmap anydpi v26 ic launcher xml rw 2 0 fat 552 bl 236 defn 80 jan 01 03 00 re mipmap anydpi v26 ic launcher round xml rw 1 0 fat 3322 b 3322 stor 80 jan 01 03 00 re mipmap hdpi ic launcher png rw 1 0 fat 5843 b 5843 stor 80 jan 01 03 00 re mipmap hdpi ic launcher round png rw 1 0 fat 2329 b 2329 stor 80 jan 01 03 00 re mipmap mdpi ic launcher png rw 1 0 fat 3487 b 3487 stor 80 jan 01 03 00 re mipmap mdpi ic launcher round png rw 1 0 fat 4676 b 4676 stor 80 jan 01 03 00 re mipmap xhdpi ic launcher png rw 1 0 fat 8004 b 8004 stor 80 jan 01 03 00 re mipmap xhdpi ic launcher round png rw 1 0 fat 6554 b 6554 stor 80 jan 01 03 00 re mipmap xxhdpi ic launcher png rw 1 0 fat 11607 b 11607 stor 80 jan 01 03 00 re mipmap xxhdpi ic launcher round png rw 1 0 fat 8946 b 8946 stor 80 jan 01 03 00 re mipmap xxxhdpi ic launcher png rw 1 0 fat 16187 b 16187 stor 80 jan 01 03 00 re mipmap xxxhdpi ic launcher round png rw 1 0 fat 2555 b 2555 stor 80 jan 01 03 00 re raw channel in mp3 rw 1 0 fat 3605 b 3605 stor 80 jan 01 03 00 re raw ptt emg mp3 rw 1 0 fat 4620 b 4620 stor 80 jan 01 03 00 resource arsc 27 file 119147 byte uncompress 98429 byte compress 17 4 rebuild apk use apktool with commit a8bdad62 archive httptest v12 0ec223d apk zip file size 100991 byte number of entry 27 rw 2 0 fat 2568 bl 911 defn 18 apr 12 17 59 androidmanif xml rw 2 0 fat 19204 bl 9304 defn 18 apr 12 17 59 class dex rw 2 0 fat 2656 bl 837 defn 18 apr 12 17 59 re drawable v24 ic launcher foreground xml rw 2 0 fat 904 bl 358 defn 18 apr 12 17 59 re drawable v24 ic launcher foreground 0 xml rw 2 0 fat 844 bl 558 defn 18 apr 12 17 59 re drawable xxhdpi ic launcher background png rw 2 0 fat 2555 bl 2267 defn 18 apr 12 17 59 re raw channel in mp3 rw 2 0 fat 3605 bl 3141 defn 18 apr 12 17 59 re raw ptt emg mp3 rw 2 0 fat 3487 bl 3492 defn 18 apr 12 17 59 re mipmap mdpi ic launcher round png rw 2 0 fat 2329 bl 2334 defn 18 apr 12 17 59 re mipmap mdpi ic launcher png rw 2 0 fat 11607 bl 11612 defn 18 apr 12 17 59 re mipmap xxhdpi ic launcher round png rw 2 0 fat 6554 bl 6549 defn 18 apr 12 17 59 re mipmap xxhdpi ic launcher png rw 2 0 fat 328 bl 286 defn 18 apr 12 17 59 re drawable hdpi ic launcher background png rw 2 0 fat 552 bl 236 defn 18 apr 12 17 59 re mipmap anydpi v26 ic launcher xml rw 2 0 fat 552 bl 236 defn 18 apr 12 17 59 re mipmap anydpi v26 ic launcher round xml rw 2 0 fat 6280 bl 1037 defn 18 apr 12 17 59 re drawable anydpi v21 ic launcher background xml rw 2 0 fat 8004 bl 8009 defn 18 apr 12 17 59 re mipmap xhdpi ic launcher round png rw 2 0 fat 4676 bl 4681 defn 18 apr 12 17 59 re mipmap xhdpi ic launcher png rw 2 0 fat 16187 bl 16173 defn 18 apr 12 17 59 re mipmap xxxhdpi ic launcher round png rw 2 0 fat 8946 bl 8838 defn 18 apr 12 17 59 re mipmap xxxhdpi ic launcher png rw 2 0 fat 5843 bl 5848 defn 18 apr 12 17 59 re mipmap hdpi ic launcher round png rw 2 0 fat 3322 bl 3327 defn 18 apr 12 17 59 re mipmap hdpi ic launcher png rw 2 0 fat 211 bl 213 defn 18 apr 12 17 59 re drawable mdpi ic launcher background png rw 2 0 fat 201 bl 199 defn 18 apr 12 17 59 re drawable ldpi ic launcher background png rw 2 0 fat 539 bl 420 defn 18 apr 12 17 59 re drawable xhdpi ic launcher background png rw 2 0 fat 1460 bl 539 defn 18 apr 12 17 59 re layout activity main xml rw 2 0 fat 1113 bl 566 defn 18 apr 12 17 59 re drawable xxxhdpi ic launcher background png rw 1 0 fat 4620 b 4620 stor 18 apr 12 17 59 resource arsc 27 file 119147 byte uncompress 96591 byte compress 18 9 step to reproduce 1 apktool d file apk 2 apktool b file apk framework nothing special apk httptest v12 0ec223d zip question to ask before submission 1 have you try apktool d apktool b without change anything yes this report be about such test 2 if you be try to install a modify apk do you resign it yes with same key 3 be you use the late apktool version yes v2 3 2 with commit a8bdad62 revert do not have this problem
ibotpeachesapktool
implicit qualifier remove during decode
Bug
information 1 apktool 2 3 1 and 2 3 2 snapshot 2 linux 3 systemui apk and framework re apk from note 8 oreo firmware the resource folder layout change from the original apk for instance in the original systemui apk there be an animator v21 folder but the disappear when decompile and file move to a simple animator folder step to reproduce 1 apktool d systemui apk 2 apktool b systemui c 3 flash new apk result in systemui crash framework
ibotpeachesapktool
indexoutofboundsexception decodestre stringblock
Bug
information 1 apktool version 2 3 1 2 operating system manjaro linux 3 apk from playstore logfile linux x apk apktool d myapp apk I use apktool 2 3 1 on myapp apk I load resource table exception in thread main java lang indexoutofboundsexception at java nio bytebuffer wrap bytebuffer java 375 at brut androlib re decoder stringblock decodestre stringblock java 297 at brut androlib re decoder stringblock getstre stringblock java 110 at brut androlib re decoder stringblock gethtml stringblock java 126 at brut androlib re decoder arscdecoder readvalue arscdecoder java 341 at brut androlib re decoder arscdecoder readentrydata arscdecoder java 257 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 233 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 156 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 118 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 80 at brut androlib re decoder arscdecoder decode arscdecoder java 47 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 599 at brut androlib re androlibresource loadmainpkg androlibresource java 73 at brut androlib re androlibresource getrestable androlibresource java 65 at brut androlib androlib getrestable androlib java 68 at brut androlib apkdecoder settargetsdkversion apkdecoder java 228 at brut androlib apkdecoder decode apkdecoder java 118 at brut apktool main cmddecode main java 163 at brut apktool main main main java 72 download the apk here how do I solve this I have try other apks and they get extract just fine only this one that can t be extract
ibotpeachesapktool
bug during apktool jar compieltion from source
Bug
ibotpeache with late update on source code 3 day ago I get this error during compilation on final test mention 292510 brut mention androlib aapt1 buildanddecodet classmethod fail java lang nullpointerexception at brut androlib re decoder resfiledecoder decode resfiledecoder java 132 at brut androlib re decoder resfiledecoder decode resfiledecoder java 115 at brut androlib re androlibresource decode androlibresource java 258 at brut androlib androlib decoderesourcesfull androlib java 131 at brut androlib apkdecoder decode apkdecoder java 124 at brut androlib aapt1 buildanddecodetest beforeclass buildanddecodetest java 61 brut androlib aapt1 largeintsinmanifesttest checkiflargeintsarehandledt fail java lang nullpointerexception at brut androlib re decoder resfiledecoder decode resfiledecoder java 132 at brut androlib re decoder resfiledecoder decode resfiledecoder java 115 at brut androlib re androlibresource decode androlibresource java 258 at brut androlib androlib decoderesourcesfull androlib java 131 at brut androlib apkdecoder decode apkdecoder java 124 at brut androlib aapt1 largeintsinmanifesttest checkiflargeintsarehandledt largeintsinmanifesttest java 66 brut androlib aapt1 providerattributet isproviderstringreplacementworke fail java lang nullpointerexception at brut androlib re decoder resfiledecoder decode resfiledecoder java 132 at brut androlib re decoder resfiledecoder decode resfiledecoder java 115 at brut androlib re androlibresource decode androlibresource java 258 at brut androlib androlib decoderesourcesfull androlib java 131 at brut androlib apkdecoder decode apkdecoder java 124 at brut androlib aapt1 providerattributet isproviderstringreplacementworking providerattributet java 70 brut androlib aapt1 unknowncompressiontest doubleextensionstoredtest fail brut directory pathnotexist entry not find asset bin datum two extension file at brut directory ziprodirectory getcompressionlevel ziprodirectory java 108 at brut androlib aapt1 unknowncompressiontest doubleextensionstoredtest unknowncompressiontest java 80 brut androlib aapt1 unknowncompressiontest pkmextensiondeflatedtest fail brut directory pathnotexist entry not find asset bin datum test pkm at brut directory ziprodirectory getcompressionlevel ziprodirectory java 108 at brut androlib aapt1 unknowncompressiontest pkmextensiondeflatedt unknowncompressiontest java 69 59 test complete 5 fail
ibotpeachesapktool
bug in decompile some apks in version 2 3 1 that we can decompile in 2 2 0
Bug
information 1 apktool version v2 3 1 2 operating system window 3 apk from other stacktrace logcat exception in thread main java lang stringindexoutofboundsexception string index out of range 1544 at java lang string substre unknown source at brut androlib re decoder stringblock gethtml stringblock java 171 at brut androlib re decoder arscdecoder readvalue arscdecoder java 341 at brut androlib re decoder arscdecoder readentrydata arscdecoder java 257 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 233 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 156 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 118 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 80 at brut androlib re decoder arscdecoder decode arscdecoder java 47 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 599 at brut androlib re androlibresource loadmainpkg androlibresource java 73 at brut androlib re androlibresource getrestable androlibresource java 65 at brut androlib androlib getrestable androlib java 68 at brut androlib apkdecoder settargetsdkversion apkdecoder java 228 at brut androlib apkdecoder decode apkdecoder java 118 at brut apktool main cmddecode main java 163 at brut apktool main main main java 72 step to reproduce 1 apktool d app version apk apk bug in version 2 3 1 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it I just want to decompile manifest so I don t need to 3 be you use the late apktool version yes if you decompile this apk with version 2 3 1 you get an error but if you use version 2 2 0 you don t get any error
ibotpeachesapktool
fail to build v2 3 1 cause by brut common brutexception could not exec exit code 1
Bug
information 1 apktool version apktool version 2 3 1 2 operating system mac linux windows mac 3 apk from playstore rom other playstore stacktrace logcat I use apktool 2 3 1 I check whether source have change I check whether source have change I check whether resource have change I build resource w user alex work project reserv cmusic play res layout a xml 2 error error no resource find that match the give name at style with value style rtloverlay widget appcompat actionbar titleitem w w user alex work project reserv cmusic play res layout a0 xml 5 error no resource identifier find for attribute placeholderimage in package com netease cloudmusic w w user alex work project reserv cmusic play res layout a0 xml 7 error error no resource find that match the give name at style with value style aboutcontainer w w user alex work project reserv cmusic play res layout a0 xml 12 error error no resource find that match the give name at style with value style aboutcontainer nobg w w user alex work project reserv cmusic play re layout a2 xml 4 error no resource identifier find for attribute needapplydrawablecolor in package com netease cloudmusic w user alex work project reserv cmusic play res menu b xml 4 error no resource identifier find for attribute showasaction in package com netease cloudmusic w w user alex work project reserv cmusic play re menu c xml 4 error no resource identifier find for attribute showasaction in package com netease cloudmusic w w user alex work project reserv cmusic play re menu d xml 4 error no resource identifier find for attribute showasaction in package com netease cloudmusic w exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 var folder gb yvd95yj94gd55qm12rmdjk 40000gn t brut util jar 5277344822008311287 tmp p force package i d 127 min sdk version 14 target sdk version 22 version code 96 version name 4 1 1 no version vector f var folder gb yvd95yj94gd55qm12rmdjk 40000gn t apktool5244176181589430502 tmp 0 m4r 0 db 0 arsc I user alex library apktool framework 1 apk s user alex work project reserv cmusic play re m user alex work project reserv cmusic play androidmanifest xml at brut androlib androlib buildresourcesfull androlib java 492 at brut androlib androlib buildresource androlib java 426 at brut androlib androlib build androlib java 305 at brut androlib androlib build androlib java 270 at brut apktool main cmdbuild main java 227 at brut apktool main main main java 75 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 var folder gb yvd95yj94gd55qm12rmdjk 40000gn t brut util jar 5277344822008311287 tmp p force package i d 127 min sdk version 14 target sdk version 22 version code 96 version name 4 1 1 no version vector f var folder gb yvd95yj94gd55qm12rmdjk 40000gn t apktool5244176181589430502 tmp 0 m4r 0 db 0 arsc I user alex library apktool framework 1 apk s user alex work project reserv cmusic play re m user alex work project reserv cmusic play androidmanifest xml at brut androlib re androlibresource aaptpackage androlibresource java 456 at brut androlib androlib buildresourcesfull androlib java 478 5 more cause by brut common brutexception could not exec exit code 1 var folder gb yvd95yj94gd55qm12rmdjk 40000gn t brut util jar 5277344822008311287 tmp p force package i d 127 min sdk version 14 target sdk version 22 version code 96 version name 4 1 1 no version vector f var folder gb yvd95yj94gd55qm12rmdjk 40000gn t apktool5244176181589430502 tmp 0 m4r 0 db 0 arsc I user alex library apktool framework 1 apk s user alex work project reserv cmusic play re m user alex work project reserv cmusic play androidmanifest xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 450 6 more step to reproduce 1 apktool d com netease cloudmusic apk out play 2 apktool b play framework not from oem room apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it yes 3 be you use the late apktool version yes other infomation 1 aapt have be set in path to user alex library android sdk build tool 27 0 3 2 apktool empty framework dir force have try still not work 3 apktool d no re and then apktool b work after that resign and install it can not run stacktrace logcat 02 25 08 36 10 764 1218 1240 w windowmanager token 8b33f18 activityrecord e7292fb u0 com netease cloudmusic activity loadingactivity t7287 fail create start window android content re resource notfoundexception drawable com netease cloudmusic drawable p login bg with resource i d 0x7f020498 cause by android content re resource notfoundexception file r b p login bg png from drawable resource i d 0x7f020498
ibotpeachesapktool
decompile late facebook apk unsupported res type name for bag find style2
Bug
information 1 apktool version 2 3 1 2 operating system linux 3 apk from apkmirror stacktrace logcat very long sequence of could not decode file line step to reproduce 1 any attempt to decompile the official facebook apk version 157 and later 2 apktool d in facebook 157 0 0 38 97 apk o work facebook 157 0 0 38 97 apk framework if this apk be from an oem rom samsung htc lg nope apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it issue during decompile recompile 3 be you use the late apktool version yes
ibotpeachesapktool
switch to aapt2
Bug
it be time there be many thing no long work in aapt1 and this will only get bad as time go on sample
ibotpeachesapktool
attribute in attr private xml not find
Bug
information 1 apktool version apktool version 2 3 0 2 operating system mac linux window win10 3 apk from playstore rom other htc oreo systemui stacktrace logcat w c android reverse engineering systemui re value public xml 1193 error public symbol attr private viewtype declare here be not define w c android reverse engineering systemui re value public xml 1194 error public symbol attr private voiceicon declare here be not define w c android reverse engineering systemui re value public xml 1195 error public symbol attr private widgetlayout declare here be not define exception in thread main w c android reverse engineering systemui re value public xml 1196 error public symbol attr private wifi friction declare here be not define w c android reverse engineering systemui re value public xml 1197 error public symbol attr private wifi signal declare here be not define brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 c user j3f4f 1 duo appdata local temp brut util jar 1618230815674308433 tmp p force package i d 127 min sdk version 23 target sdk version 26 version code 26 version name 8 0 0 no version vector f c user j3f4f 1 duo appdata local temp apktool224544575642684951 tmp 0 arsc 0 webp 0 arsc I c user j duong appdata local apktool framework 1 apk s c android reverse engineering systemui re m c android reverse engineering systemui androidmanifest xml at brut androlib androlib buildresourcesfull androlib java 485 at brut androlib androlib buildresource androlib java 419 at brut androlib androlib build androlib java 318 at brut androlib androlib build androlib java 270 at brut apktool main cmdbuild main java 224 at brut apktool main main main java 75 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 c user j3f4f 1 duo appdata local temp brut util jar 1618230815674308433 tmp p force package i d 127 min sdk version 23 target sdk version 26 version code 26 version name 8 0 0 no version vector f c user j3f4f 1 duo appdata local temp apktool224544575642684951 tmp 0 arsc 0 webp 0 arsc I c user j duong appdata local apktool framework 1 apk s c android reverse engineering systemui re m c android reverse engineering systemui androidmanifest xml at brut androlib re androlibresource aaptpackage androlibresource java 454 at brut androlib androlib buildresourcesfull androlib java 471 5 more cause by brut common brutexception could not exec exit code 1 c user j3f4f 1 duo appdata local temp brut util jar 1618230815674308433 tmp p force package i d 127 min sdk version 23 target sdk version 26 version code 26 version name 8 0 0 no version vector f c user j3f4f 1 duo appdata local temp apktool224544575642684951 tmp 0 arsc 0 webp 0 arsc I c user j duong appdata local apktool framework 1 apk s c android reverse engineering systemui re m c android reverse engineering systemui androidmanifest xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 448 6 more step to reproduce 1 apktool d systemui apk faile loading resource I use apktool 2 3 0 on systemui apk I load resource table w null w null w null w null I decode androidmanif xml with resource I load resource table from file c user j duong appdata local apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls I baksmale class dex I copy asset and lib I copy unknown file I copy original file have first to delete the 9 suffix to from all pip dismiss scrim 9 png because of w error 9 patch image c android reverse engineering systemui re drawable xhdpi pip dismiss scrim 9 png malforme w no marked region find along edge w find along leave edge then apktool b systemui bring the not find attribute warning error file zip
ibotpeachesapktool
no resource identifier find for attribute showwhenlocke
Bug
information 1 apktool version apktool version 2 3 1 f7a872 snapshot 2 operating system mac linux windows linux 3 apk from playstore rom other stacktrace logcat apktool git d base camera 5 1 016 apk I use apktool 2 3 1 f7a872 snapshot on base camera 5 1 016 apk I load resource table I decode androidmanif xml with resource I load resource table from file home kylex2 local share apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls I baksmale class dex I copy asset and lib I copy unknown file I copy original file apktool git b base camera 5 1 016 I use apktool 2 3 1 f7a872 snapshot I check whether source have change I smale smali folder into class dex I check whether resource have change I build resource w home kylex2 base camera 5 1 016 androidmanifest xml 89 error no resource identifier find for attribute showwhenlocke in package android w exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 tmp brut util jar 1343311019218654161 tmp p force package i d 127 min sdk version 26 target sdk version 27 version code 41343466 version name 5 1 016 174405463 no version vector f tmp apktool8057650776545101906 tmp 0 arsc 0 meta inf service com google protobuf generatedextensionregistryloader 0 apk 0 bin 0 arsc I home kylex2 local share apktool framework 1 apk s home kylex2 base camera 5 1 016 re m home kylex2 base camera 5 1 016 androidmanifest xml at brut androlib androlib buildresourcesfull androlib java 485 at brut androlib androlib buildresource androlib java 419 at brut androlib androlib build androlib java 318 at brut androlib androlib build androlib java 270 at brut apktool main cmdbuild main java 224 at brut apktool main main main java 75 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 tmp brut util jar 1343311019218654161 tmp p force package i d 127 min sdk version 26 target sdk version 27 version code 41343466 version name 5 1 016 174405463 no version vector f tmp apktool8057650776545101906 tmp 0 arsc 0 meta inf service com google protobuf generatedextensionregistryloader 0 apk 0 bin 0 arsc I home kylex2 local share apktool framework 1 apk s home kylex2 base camera 5 1 016 re m home kylex2 base camera 5 1 016 androidmanifest xml at brut androlib re androlibresource aaptpackage androlibresource java 456 at brut androlib androlib buildresourcesfull androlib java 471 5 more cause by brut common brutexception could not exec exit code 1 tmp brut util jar 1343311019218654161 tmp p force package i d 127 min sdk version 26 target sdk version 27 version code 41343466 version name 5 1 016 174405463 no version vector f tmp apktool8057650776545101906 tmp 0 arsc 0 meta inf service com google protobuf generatedextensionregistryloader 0 apk 0 bin 0 arsc I home kylex2 local share apktool framework 1 apk s home kylex2 base camera 5 1 016 re m home kylex2 base camera 5 1 016 androidmanifest xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 450 6 more step to reproduce 1 apktool empty framework dir 2 apktool d 3 apktool b apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it yes 3 be you use the late apktool version yes
ibotpeachesapktool
eofexception getrespackagesfromapk
Bug
brut androlib androlibexception could not decode arsc file be this issue know information 1 apktool version apktool version 2 3 0 2 operating system mac linux windows linux 3 apk from playstore rom other other generate by I with gomobile tool stacktrace logcat java cp download apktool 2 3 0 jar brut apktool main d invader apk I use apktool 2 3 0 on invader apk I load resource table exception in thread main brut androlib androlibexception could not decode arsc file at brut androlib re decoder arscdecoder decode arscdecoder java 52 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 575 at brut androlib re androlibresource loadmainpkg androlibresource java 72 at brut androlib re androlibresource getrestable androlibresource java 64 at brut androlib androlib getrestable androlib java 68 at brut androlib apkdecoder settargetsdkversion apkdecoder java 214 at brut androlib apkdecoder decode apkdecoder java 109 at brut apktool main cmddecode main java 160 at brut apktool main main main java 72 cause by java io eofexception at com google common io littleendiandatainputstream readandcheckbyte littleendiandatainputstream java 2 26 at com google common io littleendiandatainputstream readunsignedshort littleendiandatainputstream java 100 at com google common io littleendiandatainputstream readshort littleendiandatainputstream java 188 at brut util datainputdelegate readshort datainputdelegate java 49 at brut androlib re decoder arscdecoder readentry arscdecoder java 239 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 231 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 156 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 118 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 80 at brut androlib re decoder arscdecoder decode arscdecoder java 47 8 more step to reproduce java cp download apktool 2 3 0 jar brut apktool main d invader apk framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app not applicable apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it not a modify apk 3 be you use the late apktool version yes
ibotpeachesapktool
brutexception during build
Bug
information 1 apktool version apktool version 2 3 0 2 operating system mac linux window window 10 3 apk from playstore rom other playstore stacktrace logcat java jar apktool 2 3 0 jar d vkontakte android 5 0 2 1251 apk I use apktool 2 3 0 on vkontakte android 5 0 2 1251 apk I load resource table I decode androidmanif xml with resource s warning could not write to c user user appdata local apktool framework use c user user appdata local temp instead s please be aware this be a volatile directory and framework could go miss please utilize frame path if the default storage directory be unavailable I load resource table from file c user user appdata local temp 1 apk I regular manifest package I decode file resource w can not find 9patch chunk in file drawable mdpi v4 ab progress bg 9 png rename it to png w can not find 9patch chunk in file drawable xhdpi v4 ab progress secondary 9 png rename it to png w can not find 9patch chunk in file drawable xxhdpi v4 ab progress secondary 9 png rename it to png w can not find 9patch chunk in file drawable xxhdpi v4 ab progress bg 9 png rename it to png w can not find 9patch chunk in file drawable xhdpi v4 ab progress primary 9 png rename it to png w can not find 9patch chunk in file drawable hdpi v4 ab progress secondary 9 png rename it to png w can not find 9patch chunk in file drawable xhdpi v4 ab progress bg 9 png rename it to png w can not find 9patch chunk in file drawable hdpi v4 ab progress primary 9 png rename it to png w can not find 9patch chunk in file drawable mdpi v4 ab progress primary 9 png rename it to png w can not find 9patch chunk in file drawable hdpi v4 ab progress bg 9 png rename it to png w can not find 9patch chunk in file drawable mdpi v4 ab progress secondary 9 png rename it to png w can not find 9patch chunk in file drawable xxhdpi v4 ab progress primary 9 png rename it to png I decode value xmls I baksmale class dex I baksmale classes2 dex I baksmale classes3 dex I copy asset and lib I copy unknown file I copy original file java jar apktool 2 3 0 jar b vkontakte android 5 0 2 1251 I use apktool 2 3 0 I check whether source have change I smale smali folder into class dex I check whether source have change I smale smali classes2 folder into classes2 dex I check whether source have change I smale smali classes3 folder into classes3 dex I check whether resource have change I build resource s warning could not write to c user user appdata local apktool framework use c user user appdata local temp instead s please be aware this be a volatile directory and framework could go miss please utilize frame path if the default storage directory be unavailable w c user user decompilation vkontakte android 5 0 2 1251 re value style xml 2108 error resource entry settingsheadersection already have bag item android textallcap w c user user decompilation vkontakte android 5 0 2 1251 re value style xml 2107 originally define here w exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 c user user appdata local temp brut util jar 473167439510311661 tmp p force package i d 127 min sdk version 16 target sdk version 22 version code 1251 version name 5 0 2 no version vector f c user user appdata local temp apktool5469593742570201570 tmp 0 arsc 0 arsc I c user user appdata local temp 1 apk s c user user decompilation vkontakte android 5 0 2 1251 re m c user user decompilation vkontakte android 5 0 2 1251 androidmanifest xml at brut androlib androlib buildresourcesfull androlib java 485 at brut androlib androlib buildresource androlib java 419 at brut androlib androlib build androlib java 318 at brut androlib androlib build androlib java 270 at brut apktool main cmdbuild main java 224 at brut apktool main main main java 75 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 c user user appdata local temp brut util jar 473167439510311661 tmp p force package i d 127 min sdk version 16 target sdk version 22 version code 1251 version name 5 0 2 no version vector f c user user appdata local temp apktool5469593742570201570 tmp 0 arsc 0 arsc I c user user appdata local temp 1 apk s c user user decompilation vkontakte android 5 0 2 1251 re m c user user decompilation vkontakte android 5 0 2 1251 androidmanifest xml at brut androlib re androlibresource aaptpackage androlibresource java 454 at brut androlib androlib buildresourcesfull androlib java 471 5 more cause by brut common brutexception could not exec exit code 1 c user user appdata local temp brut util jar 473167439510311661 tmp p force package i d 127 min sdk version 16 target sdk version 22 version code 1251 version name 5 0 2 no version vector f c user user appdata local temp apktool5469593742570201570 tmp 0 arsc 0 arsc I c user user appdata local temp 1 apk s c user user decompilation vkontakte android 5 0 2 1251 re m c user user decompilation vkontakte android 5 0 2 1251 androidmanifest xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 448 6 more step to reproduce 0 also try apktool empty framework dir force 1 apktool d vkontakte android 5 0 2 1251 apk 2 apktool b vkontakte android 5 0 2 1251 apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it n a 3 be you use the late apktool version yes
ibotpeachesapktool
fail to build setting apk
Bug
information 1 apktool version apktool version 2 3 2 operating system mac linux window window 10 3 apk from playstore rom other try setting apk from stock rom of both samsung j510h and samsung j500h use proper framework apks step to reproduce 1 decompile setting apk 2 do nothing just rebuild the apk 3 the result apk have issue the app crash when user try to edit time in the setting app logcat say that a resource should be an integer but find a string it mean the file have problem be resource and be build wrongly framework include in the attachment apk include zip file have the apk the file be huge so upload they to question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it yes 3 be you use the late apktool version yes
ibotpeachesapktool
regression if frame path do not exist
Bug
l793 ten line far down the directory be create if it do not exist already
ibotpeachesapktool
fatal error 1 1 content be not allow in prolog
Bug
information 1 apktool version apktool version 2 3 0 2 operating system mac linux window linux 3 apk from playstore rom other stacktrace logcat apktool b framework re I use apktool 2 3 0 w could not find source fatal error 1 1 content be not allow in prolog I check whether resource have change I build apk file I copy unknown file dir step to reproduce 1 apktool b frameword re framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it 3 be you use the late apktool version yes hi I ve paste above the message I m get when build framework re folder on decompile I have no problem whatsoever the only change I do with the folder be change default wallpaper and nothing else hope you could help I with this by the way thank for this awesome project
ibotpeachesapktool
aapt crash during rebuild
Bug
information 1 apktool version apktool version 2 3 0 2 operating system mac linux window window 3 apk from playstore rom other playstore stacktrace logcat I use apktool 2 3 0 I smale smali folder into class dex I build resource w warn string textoff have no default translation w warn string texton have no default translation w c user marc download b com kms free res layout footer issue status xml 13 error no resource identifier find for attribute cardbackgroundcolor in package android w w c user marc download b com kms free res layout footer issue status xml 13 error no resource identifier find for attribute cardelevation in package android w w c user marc download b com kms free res layout kis activity main xml 4 error no resource identifier find for attribute slidingviewid in package android w w c user marc download b com kms free res layout kis activity main xml 4 error no resource identifier find for attribute mainviewid in package android w w c user marc download b com kms free res layout kis activity main xml 4 error no resource identifier find for attribute slidingviewstyle in package android w w c user marc download b com kms free res layout kis activity main xml 4 error no resource identifier find for attribute slidingviewledge in package android w w c user marc download b com kms free res layout kis activity main xml 4 error no resource identifier find for attribute slidingviewposition in package android w w c user marc download b com kms free res layout kis fragment shield xml 11 error no resource identifier find for attribute wireframedrawableid in package android w w c user marc download b com kms free res layout kis fragment shield xml 11 error no resource identifier find for attribute infodrawableid in package android w w c user marc download b com kms free res layout kis fragment shield xml 11 error no resource identifier find for attribute warningdrawableid in package android w w c user marc download b com kms free res layout kis fragment shield xml 11 error no resource identifier find for attribute errordrawableid in package android w w c user marc download b com kms free res layout kis fragment shield xml 11 error no resource identifier find for attribute progressdelimdrawableid in package android w w c user marc download b com kms free res layout kis fragment shield xml 11 error no resource identifier find for attribute progresshidrawableid in package android w w c user marc download b com kms free res layout kis fragment shield xml 11 error no resource identifier find for attribute progresslowdrawableid in package android w w c user marc download b com kms free res layout kis fragment shield xml 11 error no resource identifier find for attribute progresspaddingtoppercent in package android w w c user marc download b com kms free res layout kis fragment shield xml 11 error no resource identifier find for attribute progresspaddingbottompercent in package android w w c user marc download b com kms free res layout kis li issue xml 4 error no resource identifier find for attribute cardelevation in package android w w c user marc download b com kms free res layout kis li issue xml 4 error no resource identifier find for attribute cardusecompatpadding in package android w w c user marc download b com kms free res layout kis li issue xml 4 error no resource identifier find for attribute contentpadding in package android w w c user marc download b com kms free res layout license block xml 4 error no resource identifier find for attribute boundedwidthinche in package android w w c user marc download b com kms free res layout license info control xml 4 error no resource identifier find for attribute remainingtext in package android w w c user marc download b com kms free res layout license info control xml 4 error no resource identifier find for attribute backgroundnovalue in package android w w c user marc download b com kms free res layout license info control xml 4 error no resource identifier find for attribute backgroundvalue in package android w w c user marc download b com kms free res layout license setting general xml 4 error no resource identifier find for attribute boundedwidthinche in package android w w c user marc download b com kms free res layout wizard web registration kms xml 8 error no resource identifier find for attribute edithint in package android w w c user marc download b com kms free res layout wizard web registration kms xml 9 error no resource identifier find for attribute edithint in package android w w c user marc download b com kms free res layout wizard web registration kms xml 9 error no resource identifier find for attribute emptypasswordhint in package android w w c user marc download b com kms free res layout wizard web registration kms xml 9 error no resource identifier find for attribute shortpasswordhint in package android w w c user marc download b com kms free res layout wizard web registration kms xml 9 error no resource identifier find for attribute weakpasswordhint in package android w w c user marc download b com kms free res layout wizard web registration kms xml 9 error no resource identifier find for attribute invalidpasswordhint in package android w w c user marc download b com kms free res layout wizard web registration kms xml 11 error no resource identifier find for attribute edithint in package android w w c user marc download b com kms free res layout wizard web registration kms xml 12 error no resource identifier find for attribute titletext in package android w w c user marc download b com kms free res layout wizard web registration kms xml 23 error no resource identifier find for attribute titletext in package android w w c user marc download b com kms free res layout wizard web registration kts xml 8 error no resource identifier find for attribute edithint in package android w w c user marc download b com kms free res layout wizard web registration kts xml 9 error no resource identifier find for attribute edithint in package android w w c user marc download b com kms free res layout wizard web registration kts xml 9 error no resource identifier find for attribute emptypasswordhint in package android w w c user marc download b com kms free res layout wizard web registration kts xml 9 error no resource identifier find for attribute shortpasswordhint in package android w w c user marc download b com kms free res layout wizard web registration kts xml 9 error no resource identifier find for attribute weakpasswordhint in package android w w c user marc download b com kms free res layout wizard web registration kts xml 9 error no resource identifier find for attribute invalidpasswordhint in package android w w c user marc download b com kms free res layout wizard web registration kts xml 11 error no resource identifier find for attribute edithint in package android w w c user marc download b com kms free res layout wizard web registration kts xml 12 error no resource identifier find for attribute titletext in package android w w c user marc download b com kms free res layout wizard web registration kts xml 24 error no resource identifier find for attribute titletext in package android w exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 c cygwin64 tmp brut util jar 1216407143768294297 tmp p force package i d 127 min sdk version 14 target sdk version 22 version code 97 version name 11 9 4 1294 no version vector f c cygwin64 tmp apktool4181187643853471594 tmp 0 arsc 0 arsc I c user marc appdata local apktool framework 1 apk s c user marc download b com kms free res m c user marc download b com kms free androidmanifest xml at brut androlib androlib buildresourcesfull androlib java 485 at brut androlib androlib buildresource androlib java 419 at brut androlib androlib build androlib java 318 at brut androlib androlib build androlib java 270 at brut apktool main cmdbuild main java 224 at brut apktool main main main java 75 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 c cygwin64 tmp brut util jar 1216407143768294297 tmp p force package i d 127 min sdk version 14 target sdk version 22 version code 97 version name 11 9 4 1294 no version vector f c cygwin64 tmp apktool4181187643853471594 tmp 0 arsc 0 arsc I c user marc appdata local apktool framework 1 apk s c user marc download b com kms free res m c user marc download b com kms free androidmanifest xml at brut androlib re androlibresource aaptpackage androlibresource java 454 at brut androlib androlib buildresourcesfull androlib java 471 5 more cause by brut common brutexception could not exec exit code 1 c cygwin64 tmp brut util jar 1216407143768294297 tmp p force package i d 127 min sdk version 14 target sdk version 22 version code 97 version name 11 9 4 1294 no version vector f c cygwin64 tmp apktool4181187643853471594 tmp 0 arsc 0 arsc I c user marc appdata local apktool framework 1 apk s c user marc download b com kms free res m c user marc download b com kms free androidmanifest xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 448 6 more aapt crash although there be no error message use by it step to reproduce apktool d com kms free apk apktool b f com kms free framework none use apk
ibotpeachesapktool
oreo 9patch no marked region find along edge
Bug
systemui zip I ve decompile the systemui apk on android oreo from the 6p I ve edit a few xml s upon build I get this error if I decompile the apk and build it as be I still get the error information 1 apktool version 2 2 4 2 operating system window 3 apk from stock oreo system img stacktrace logcat w error 9 patch image c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemui apk re drawable xxxhdpi pip dismiss scrim 9 png malforme w no marked region find along edge w find along leave edge w error failure processing png image c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemui apk re drawable xxxhdpi pip dismiss scrim 9 png exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 c user krisy 1 des appdata local temp brut util jar 3948520725014907572 tmp p force package i d 127 min sdk version 26 target sdk version 26 version code 26 version name 8 0 0 no version vector f c user krisy 1 des appdata local temp apktool2731525356834830561 tmp 0 arsc 0 arsc I c user krisy desktop 3efrblr appdata local apktool framework 1 apk s c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemui apk re m c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemui apk androidmanifest xml at brut androlib androlib buildresourcesfull androlib java 496 at brut androlib androlib buildresource androlib java 430 at brut androlib androlib build androlib java 329 at brut androlib androlib build androlib java 267 at brut apktool main cmdbuild main java 230 at brut apktool main main main java 83 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 c user krisy 1 des appdata local temp brut util jar 3948520725014907572 tmp p force package i d 127 min sdk version 26 target sdk version 26 version code 26 version name 8 0 0 no version vector f c user krisy 1 des appdata local temp apktool2731525356834830561 tmp 0 arsc 0 arsc I c user krisy desktop 3efrblr appdata local apktool framework 1 apk s c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemui apk re m c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemui apk androidmanifest xml at brut androlib re androlibresource aaptpackage androlibresource java 441 at brut androlib androlib buildresourcesfull androlib java 482 5 more cause by brut common brutexception could not exec exit code 1 c user krisy 1 des appdata local temp brut util jar 3948520725014907572 tmp p force package i d 127 min sdk version 26 target sdk version 26 version code 26 version name 8 0 0 no version vector f c user krisy 1 des appdata local temp apktool2731525356834830561 tmp 0 arsc 0 arsc I c user krisy desktop 3efrblr appdata local apktool framework 1 apk s c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemui apk re m c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemui apk androidmanifest xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 435 6 more a subdirectory or file modify system apk file here already exist w error 9 patch image c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemuigoogle apk re drawable xxxhdpi pip dismiss scrim 9 png malforme w no marked region find along edge w find along leave edge w error failure processing png image c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemuigoogle apk re drawable xxxhdpi pip dismiss scrim 9 png exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 c user krisy 1 des appdata local temp brut util jar 7543208047023060219 tmp p force package i d 127 min sdk version 26 target sdk version 26 version code 26 version name 8 0 0 no version vector f c user krisy 1 des appdata local temp apktool4037231958546700424 tmp 0 arsc 0 arsc I c user krisy desktop 3efrblr appdata local apktool framework 1 apk s c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemuigoogle apk res m c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemuigoogle apk androidmanifest xml at brut androlib androlib buildresourcesfull androlib java 496 at brut androlib androlib buildresource androlib java 430 at brut androlib androlib build androlib java 329 at brut androlib androlib build androlib java 267 at brut apktool main cmdbuild main java 230 at brut apktool main main main java 83 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 c user krisy 1 des appdata local temp brut util jar 7543208047023060219 tmp p force package i d 127 min sdk version 26 target sdk version 26 version code 26 version name 8 0 0 no version vector f c user krisy 1 des appdata local temp apktool4037231958546700424 tmp 0 arsc 0 arsc I c user krisy desktop 3efrblr appdata local apktool framework 1 apk s c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemuigoogle apk res m c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemuigoogle apk androidmanifest xml at brut androlib re androlibresource aaptpackage androlibresource java 441 at brut androlib androlib buildresourcesfull androlib java 482 5 more cause by brut common brutexception could not exec exit code 1 c user krisy 1 des appdata local temp brut util jar 7543208047023060219 tmp p force package i d 127 min sdk version 26 target sdk version 26 version code 26 version name 8 0 0 no version vector f c user krisy 1 des appdata local temp apktool4037231958546700424 tmp 0 arsc 0 arsc I c user krisy desktop 3efrblr appdata local apktool framework 1 apk s c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemuigoogle apk res m c user krisy desktop 3efrblr desktop apk multi tool master apk multi tool master apk multi tool master project systemuigoogle apk androidmanifest xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 435 6 more step to reproduce 1 apktool b systemui framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app apk if this apk can be freely share please upload attach a link to it question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it n a 3 be you use the late apktool version yes
ibotpeachesapktool
android oreo change
Bug
x wide color gamut hdr x vr headset qualifier x font support x upgrade aapt to android 8 0 0 r4 x add support for restable sparsetypeentry x update test the reserve res0 res1 get tweak in favor of some spare entry enum if set the entry be sparse and encode both the entry i d and offset into each entry and a binary search be use to find the key only available on platform o mark any type that use this with a v26 qualifier to prevent runtime issue on old platform flag sparse 0x01 uint8 t flag must be 0 uint16 t reserve color gamut clean up
ibotpeachesapktool
how to decode the string length when it be very long
Bug
as we know we use stringblock getutf8 or stringblock getutf16 to decode the string s length usually they can work well but when a string be very very long such as the length be 0x8888 so the first four byte be 0x88 0x88 0x88 0x88 how should I decode it s length image
ibotpeachesapktool
apk attribute be garble of public app
Bug
information 1 apktool 2 2 4 2 window 3 playstore or attach stacktrace logcat I use apktool 2 2 4 on com spacosa android famy global apk I load resource table I decode androidmanif xml with resource I load resource table from file c user john appdata local apktool framework 1 apk I regular manifest package fatal error 42 41 element type application must be follow by either attribute specification or I decode file resource I decode value xmls I baksmale class dex I copy asset and lib I copy unknown file I copy original file output manifest exception on rebuild I use apktool 2 2 4 I check whether source have change I smale smali folder into class dex fatal error 42 41 element type application must be follow by either attribute specification or I check whether resource have change I build resource w c user john desktop com spacosa android famy global androidmanifest xml 2 error error parse xml must not undeclare prefix w exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 c user john appdata local temp brut util jar 3223905526957737575 tmp p force package i d 127 min sdk version 10 target sdk version 19 version code 273 version name 3 73 no version vector f c user john appdata local temp apktool590315764491848170 tmp 0 arsc 0 zip 0 arsc I c user john appdata local apktool framework 1 apk s c user john desktop com spacosa android famy global re m c user john desktop com spacosa android famy global androidmanifest xml at brut androlib androlib buildresourcesfull androlib java 496 at brut androlib androlib buildresource androlib java 430 at brut androlib androlib build androlib java 329 at brut androlib androlib build androlib java 267 at brut apktool main cmdbuild main java 230 at brut apktool main main main java 83 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 c user john appdata local temp brut util jar 3223905526957737575 tmp p force package i d 127 min sdk version 10 target sdk version 19 version code 273 version name 3 73 no version vector f c user john appdata local temp apktool590315764491848170 tmp 0 arsc 0 zip 0 arsc I c user john appdata local apktool framework 1 apk s c user john desktop com spacosa android famy global re m c user john desktop com spacosa android famy global androidmanifest xml at brut androlib re androlibresource aaptpackage androlibresource java 441 at brut androlib androlib buildresourcesfull androlib java 482 5 more cause by brut common brutexception could not exec exit code 1 c user john appdata local temp brut util jar 3223905526957737575 tmp p force package i d 127 min sdk version 10 target sdk version 19 version code 273 version name 3 73 no version vector f c user john appdata local temp apktool590315764491848170 tmp 0 arsc 0 zip 0 arsc I c user john appdata local apktool framework 1 apk s c user john desktop com spacosa android famy global re m c user john desktop com spacosa android famy global androidmanifest xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 435 6 more step to reproduce 1 apktool d com spacosa android famy global apk 2 apktool b com spacosa android famy global framework not applicable apk com spacosa android famy global zip question to ask before submission 1 have you try apktool d apktool b without change anything doesn t work 2 if you be try to install a modify apk do you resign it 3 be you use the late apktool version yes
ibotpeachesapktool
apk size before decode and after re encode
Bug
information 1 apktool version apktool version 2 2 2 edit 2 2 4 also 2 operating system mac linux window linux x86 64 3 apk from playstore rom other play store apkmirror facebook non beta from 7 25 17 android 4 0 3 step to reproduce 1 apktool d s facebook apk o whatever 2 apktool b whatever o facebook repacke apk 3 compare size of facebook apk and facebook repacke apk it seem like when rebuild an apk file apktool generate a file that s 20 mb large than the source apk I suspect compression setting be the main culprit here since manually repacke the apk with full zip compression zip 9 result in a substantially small file even compare to stock this isn t directly cause any kind of malfunction per se but it raise suspicion of introduction of rogue code by end user of publish modded apks as well as increase storage requirement
ibotpeachesapktool
could not decode re arsc
Bug
information 1 apktool version 2 2 3 2 operating system window 3 apk from I don t know stacktrace logcat I use apktool 2 2 3 on test zip I load resource table w null exception in thread main java lang nullpointerexception at brut androlib re datum value resvaluefactory factory resvaluefactory java 74 at brut androlib re decoder arscdecoder readvalue arscdecoder java 315 at brut androlib re decoder arscdecoder readentry arscdecoder java 241 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 226 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 156 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 118 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 80 at brut androlib re decoder arscdecoder decode arscdecoder java 47 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 562 at brut androlib re androlibresource loadmainpkg androlibresource java 72 at brut androlib re androlibresource getrestable androlibresource java 64 at brut androlib androlib getrestable androlib java 68 at brut androlib apkdecoder settargetsdkversion apkdecoder java 207 at brut androlib apkdecoder decode apkdecoder java 109 at brut apktool main cmddecode main java 166 at brut apktool main main main java 81 step to reproduce 1 apktool d s test zip apk test zip
ibotpeachesapktool
error while decompile and compile
Bug
information 1 apktool version apktool version 2 2 3 2 operating system mac linux window window 10 3 apk from playstore rom other rom stacktrace logcat while decompile c not java jar apktool jar if framework re apk I framework instal to c user pritam appdata local apktool framework 1 apk c not java jar apktool jar if twframework re apk I framework instal to c user pritam appdata local apktool framework 2 apk c not java jar apktool jar d systemui apk I use apktool 2 2 3 on systemui apk I load resource table I decode androidmanif xml with resource I load resource table from file c user pritam appdata local apktool framework 1 apk I regular manifest package I decode file resource s could not decode file replace by false value drawable hdpi v4 scrubber primary mtrl alpha 9 pio s could not decode file replace by false value drawable tw action item background press holo dark 9 pio s could not decode file replace by false value drawable hdpi v4 tw divider vertical holo light 9 pio s could not decode file replace by false value drawable tw action item background focus holo dark 9 pio s could not decode file replace by false value drawable hdpi v4 status background 9 pio s could not decode file replace by false value drawable hdpi v4 recent thumbnail bg 9 pio s could not decode file replace by false value drawable hdpi v4 ic notification overlay 9 pio s could not decode file replace by false value drawable hdpi v4 tw list divider holo light 9 pio s could not decode file replace by false value drawable nodpi v4 keyguard carrierlockplu unlock btn normal 9 pio s could not decode file replace by false value drawable hdpi v4 screenshot panel 9 pio s could not decode file replace by false value drawable hdpi v4 scrubber primary holo 9 pio s could not decode file replace by false value drawable nodpi v4 keyguard carrierlockplus emergency btn press 9 pio s could not decode file replace by false value drawable hdpi v4 scrubber secondary holo 9 pio s could not decode file replace by false value drawable tw divider vertical holo light 9 pio s could not decode file replace by false value drawable hdpi v4 spinner default holo dark be no underline 9 pio s could not decode file replace by false value drawable hdpi v4 bg protect 9 pio s could not decode file replace by false value drawable nodpi v4 keyguard carrierlockplu call btn press 9 pio s could not decode file replace by false value drawable nodpi v4 keyguard carrierlockplu unlock btn press 9 pio s could not decode file replace by false value drawable hdpi v4 recent status gradient 9 pio s could not decode file replace by false value drawable hdpi v4 gradation indi bg 9 pio s could not decode file replace by false value drawable hdpi v4 tw clear button bg normal 9 pio s could not decode file replace by false value drawable hdpi v4 nav background 9 pio s could not decode file replace by false value drawable hdpi v4 status background sma xte 9 pio s could not decode file replace by false value drawable hdpi v4 taskmanager btn default transparency mtrl 9 pio s could not decode file replace by false value drawable nodpi v4 homescreen menu noti bg 9 pio s could not decode file replace by false value drawable hdpi v4 taskmanager btn default mtrl 9 pio s could not decode file replace by false value drawable hdpi v4 tw quick panel sfinder qconnect button bg 9 pio s could not decode file replace by false value drawable hdpi v4 tw quick panel sfinder qconnect button press 9 pio s could not decode file replace by false value drawable nodpi v4 bg help button nor 9 pio s could not decode file replace by false value drawable hdpi v4 tw divider vertical holo dark 9 pio s could not decode file replace by false value drawable hdpi v4 tw action item background press holo dark 9 pio s could not decode file replace by false value drawable hdpi v4 quick set panel bg shadow 01 9 pio s could not decode file replace by false value drawable help popup picker bg w 01 9 pio s could not decode file replace by false value drawable hdpi v4 security btn bg 9 pio s could not decode file replace by false value drawable nodpi v4 keyguard carrierlockplu call btn normal 9 pio s could not decode file replace by false value drawable hdpi v4 notification panel bg 9 pio s could not decode file replace by false value drawable focus bg 9 pio s could not decode file replace by false value drawable hdpi v4 tw clear button bg press 9 pio s could not decode file replace by false value drawable hdpi v4 tw action item background focus holo dark 9 pio s could not decode file replace by false value drawable port hdpi v4 bg protect 9 pio s could not decode file replace by false value drawable hdpi v4 search bg transparent 9 pio s could not decode file replace by false value drawable hdpi v4 scrubber track holo light 9 pio s could not decode file replace by false value drawable hdpi v4 tw quick panel quick set button bg normal 9 pio s could not decode file replace by false value drawable hdpi v4 quick set panel bg shadow 02 9 pio s could not decode file replace by false value drawable hdpi v4 help popup picker bg w 01 9 pio s could not decode file replace by false value drawable hdpi v4 recent thumbnail bg press 9 pio s could not decode file replace by false value drawable hdpi v4 lock noticard badge bg tilt 9 pio s could not decode file replace by false value drawable hdpi v4 status bar close on 9 pio s could not decode file replace by false value drawable nodpi v4 bg popup 9 pio s could not decode file replace by false value drawable hdpi v4 kg widget bg pad 9 pio s could not decode file replace by false value drawable hdpi v4 recent thumbnail bg normal 9 pio s could not decode file replace by false value drawable unfocused bg 9 pio s could not decode file replace by false value drawable nodpi v4 keyguard carrierlockplus emergency btn normal 9 pio s could not decode file replace by false value drawable hdpi v4 tw clear button bg focusse 9 pio s could not decode file replace by false value drawable hdpi v4 status bar close off 9 pio s could not decode file replace by false value drawable land hdpi v4 bg protect 9 pio s could not decode file replace by false value drawable hdpi v4 keyguard fmm btn press 9 pio s could not decode file replace by false value drawable hdpi v4 set panel bg line 9 pio s could not decode file replace by false value drawable hdpi v4 tw list divider holo dark 9 pio s could not decode file replace by false value drawable hdpi v4 tw quick panel sfinder qconnect button normal 9 pio s could not decode file replace by false value drawable hdpi v4 keyguard fmm btn default 9 pio s could not decode file replace by false value drawable hdpi v4 keyguard signature bg 9 pio s could not decode file replace by false value drawable scrubber primary mtrl alpha 9 pio s could not decode file replace by false value drawable hdpi v4 recent task shadow 9 pio s could not decode file replace by false value drawable hdpi v4 recent low gradient 9 pio I decode value xmls I baksmale class dex I copy asset and lib I copy unknown file I copy original file while compile back without any change make c not java jar apktool jar b systemui I use apktool 2 2 3 I check whether source have change I smale smali folder into class dex I check whether resource have change I build resource w c not systemui re value drawable xml 10 error resource entry focus bg be already define w re drawable focus bg 9 pio 0 originally define here w w c not systemui re value drawable xml 11 error resource entry help popup picker bg w 01 be already define w re drawable help popup picker bg w 01 9 pio 0 originally define here w w c not systemui re value drawable xml 21 error resource entry scrubber primary mtrl alpha be already define w re drawable scrubber primary mtrl alpha 9 pio 0 originally define here w w c not systemui re value drawable xml 91 error resource entry tw action item background focus holo dark be already define w re drawable tw action item background focus holo dark 9 pio 0 originally define here w w c not systemui re value drawable xml 92 error resource entry tw action item background press holo dark be already define w re drawable tw action item background press holo dark 9 pio 0 originally define here w w c not systemui re value drawable xml 93 error resource entry tw divider vertical holo light be already define w re drawable tw divider vertical holo light 9 pio 0 originally define here w w c not systemui re value drawable xml 100 error resource entry unfocuse bg be already define w re drawable unfocused bg 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 3 error resource entry gradation indi bg be already define w re drawable hdpi v4 gradation indi bg 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 4 error resource entry keyguard fmm btn default be already define w re drawable hdpi v4 keyguard fmm btn default 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 5 error resource entry keyguard fmm btn press be already define w re drawable hdpi v4 keyguard fmm btn press 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 6 error resource entry keyguard signature bg be already define w re drawable hdpi v4 keyguard signature bg 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 7 error resource entry kg widget bg pad be already define w re drawable hdpi v4 kg widget bg pad 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 8 error resource entry scrubber primary holo be already define w re drawable hdpi v4 scrubber primary holo 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 9 error resource entry scrubber secondary holo be already define w re drawable hdpi v4 scrubber secondary holo 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 10 error resource entry scrubber track holo light be already define w re drawable hdpi v4 scrubber track holo light 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 11 error resource entry security btn bg be already define w re drawable hdpi v4 security btn bg 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 12 error resource entry help popup picker bg w 01 be already define w re drawable hdpi v4 help popup picker bg w 01 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 13 error resource entry scrubber primary mtrl alpha be already define w re drawable hdpi v4 scrubber primary mtrl alpha 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 14 error resource entry tw action item background focus holo dark be already define w re drawable hdpi v4 tw action item background focus holo dark 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 15 error resource entry tw action item background press holo dark be already define w re drawable hdpi v4 tw action item background press holo dark 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 16 error resource entry tw divider vertical holo light be already define w re drawable hdpi v4 tw divider vertical holo light 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 17 error resource entry bg protect be already define w re drawable hdpi v4 bg protect 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 18 error resource entry ic notification overlay be already define w re drawable hdpi v4 ic notification overlay 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 19 error resource entry lock noticard badge bg tilt be already define w re drawable hdpi v4 lock noticard badge bg tilt 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 20 error resource entry nav background be already define w re drawable hdpi v4 nav background 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 21 error resource entry notification panel bg be already define exception in thread main w re drawable hdpi v4 notification panel bg 9 pio 0 originally define here brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 c user pritam appdata local temp brut util jar 2455217956140909489 tmp p force package i d 127 min sdk version 22 target sdk version 22 version code 22 version name 5 1 1 j200gddu2aqf3 no version vector f c user pritam appdata local temp apktool8139180529059477535 tmp 0 arsc 0 webp 0 pio 0 qmg 0 arsc I c user pritam appdata local apktool framework 1 apk s c not systemui re m c not systemui androidmanifest xml at brut androlib androlib buildresourcesfull androlib java 493 at brut androlib androlib buildresource androlib java 427 at brut androlib androlib build androlib java 326 at brut androlib androlib build androlib java 264 at brut apktool main cmdbuild main java 231 at brut apktool main main main java 84 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 c user pritam appdata local temp brut util jar 2455217956140909489 tmp p force package i d 127 min sdk version 22 target sdk version 22 version code 22 version name 5 1 1 j200gddu2aqf3 no version vector f c user pritam appdata local temp apktool8139180529059477535 tmp 0 arsc 0 webp 0 pio 0 qmg 0 arsc I c user pritam appdata local apktool framework 1 apk s c not systemui re m c not systemui androidmanifest xml at brut androlib re androlibresource aaptpackage androlibresource java 441 at brut androlib androlib buildresourcesfull androlib java 479 5 more cause by brut common brutexception could not exec exit code 1 c user pritam appdata local temp brut util jar 2455217956140909489 tmp p force package i d 127 min sdk version 22 target sdk version 22 version code 22 version name 5 1 1 j200gddu2aqf3 no version vector f c user pritam appdata local temp apktool8139180529059477535 tmp 0 arsc 0 webp 0 pio 0 qmg 0 arsc I c user pritam appdata local apktool framework 1 apk s c not systemui re m c not systemui androidmanifest xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 435 6 more w w c not systemui re value hdpi v4 drawable xml 22 error resource entry quick set panel bg shadow 01 be already define w re drawable hdpi v4 quick set panel bg shadow 01 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 23 error resource entry quick set panel bg shadow 02 be already define w re drawable hdpi v4 quick set panel bg shadow 02 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 24 error resource entry recent low gradient be already define w re drawable hdpi v4 recent low gradient 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 25 error resource entry recent status gradient be already define w re drawable hdpi v4 recent status gradient 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 26 error resource entry recent task shadow be already define w re drawable hdpi v4 recent task shadow 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 27 error resource entry recent thumbnail bg be already define w re drawable hdpi v4 recent thumbnail bg 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 28 error resource entry recent thumbnail bg normal be already define w re drawable hdpi v4 recent thumbnail bg normal 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 29 error resource entry recent thumbnail bg press be already define w re drawable hdpi v4 recent thumbnail bg press 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 30 error resource entry screenshot panel be already define w re drawable hdpi v4 screenshot panel 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 31 error resource entry search bg transparent be already define w re drawable hdpi v4 search bg transparent 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 32 error resource entry set panel bg line be already define w re drawable hdpi v4 set panel bg line 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 33 error resource entry spinner default holo dark be no underline be already define w re drawable hdpi v4 spinner default holo dark be no underline 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 34 error resource entry status background be already define w re drawable hdpi v4 status background 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 35 error resource entry status background sma xte be already define w re drawable hdpi v4 status background sma xte 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 36 error resource entry status bar close off be already define w re drawable hdpi v4 status bar close off 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 37 error resource entry status bar close on be already define w re drawable hdpi v4 status bar close on 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 38 error resource entry taskmanager btn default mtrl be already define w re drawable hdpi v4 taskmanager btn default mtrl 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 39 error resource entry taskmanager btn default transparency mtrl be already define w re drawable hdpi v4 taskmanager btn default transparency mtrl 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 40 error resource entry tw clear button bg focusse be already define w re drawable hdpi v4 tw clear button bg focusse 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 41 error resource entry tw clear button bg normal be already define w re drawable hdpi v4 tw clear button bg normal 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 42 error resource entry tw clear button bg press be already define w re drawable hdpi v4 tw clear button bg press 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 43 error resource entry tw divider vertical holo dark be already define w re drawable hdpi v4 tw divider vertical holo dark 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 44 error resource entry tw list divider holo dark be already define w re drawable hdpi v4 tw list divider holo dark 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 45 error resource entry tw list divider holo light be already define w re drawable hdpi v4 tw list divider holo light 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 46 error resource entry tw quick panel quick set button bg normal be already define w re drawable hdpi v4 tw quick panel quick set button bg normal 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 47 error resource entry tw quick panel sfinder qconnect button bg be already define w re drawable hdpi v4 tw quick panel sfinder qconnect button bg 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 48 error resource entry tw quick panel sfinder qconnect button normal be already define w re drawable hdpi v4 tw quick panel sfinder qconnect button normal 9 pio 0 originally define here w w c not systemui re value hdpi v4 drawable xml 49 error resource entry tw quick panel sfinder qconnect button press be already define w re drawable hdpi v4 tw quick panel sfinder qconnect button press 9 pio 0 originally define here w w c not systemui re value port hdpi v4 drawable xml 3 error resource entry bg protect be already define w re drawable port hdpi v4 bg protect 9 pio 0 originally define here w w c not systemui re value land hdpi v4 drawable xml 3 error resource entry bg protect be already define w re drawable land hdpi v4 bg protect 9 pio 0 originally define here w w c not systemui re value nodpi v4 drawable xml 3 error resource entry bg help button nor be already define w re drawable nodpi v4 bg help button nor 9 pio 0 originally define here w w c not systemui re value nodpi v4 drawable xml 4 error resource entry bg popup be already define w re drawable nodpi v4 bg popup 9 pio 0 originally define here w w c not systemui re value nodpi v4 drawable xml 5 error resource entry homescreen menu noti bg be already define w re drawable nodpi v4 homescreen menu noti bg 9 pio 0 originally define here w w c not systemui re value nodpi v4 drawable xml 6 error resource entry keyguard carrierlockplus call btn normal be already define w re drawable nodpi v4 keyguard carrierlockplu call btn normal 9 pio 0 originally define here w w c not systemui re value nodpi v4 drawable xml 7 error resource entry keyguard carrierlockplus call btn press be already define w re drawable nodpi v4 keyguard carrierlockplu call btn press 9 pio 0 originally define here w w c not systemui re value nodpi v4 drawable xml 8 error resource entry keyguard carrierlockplus emergency btn normal be already define w re drawable nodpi v4 keyguard carrierlockplus emergency btn normal 9 pio 0 originally define here w w c not systemui re value nodpi v4 drawable xml 9 error resource entry keyguard carrierlockplus emergency btn press be already define w re drawable nodpi v4 keyguard carrierlockplus emergency btn press 9 pio 0 originally define here w w c not systemui re value nodpi v4 drawable xml 10 error resource entry keyguard carrierlockplus unlock btn normal be already define w re drawable nodpi v4 keyguard carrierlockplu unlock btn normal 9 pio 0 originally define here w w c not systemui re value nodpi v4 drawable xml 11 error resource entry keyguard carrierlockplus unlock btn press be already define w re drawable nodpi v4 keyguard carrierlockplu unlock btn press 9 pio 0 originally define here w step to reproduce 1 apktool framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app framework tw zip apk if this apk can be freely share please upload attach a link to it systemui zip question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it the apk do not even build 3 be you use the late apktool version yes I be use the late version of apktool with java path setup right but the apk do not seem to compile or decompile correctly I try for a whole day could not figure out anything same happen when I try in kali linux 64 bit try every solution mention from the issue but nothing work please advice
ibotpeachesapktool
window build fail
Bug
the new license plugin have issue on window my guess be newline let submit an upstream pr to get this resolve if we can not let detect os in build gradle if window skip the license check
ibotpeachesapktool
error decompiling hangout v 20
Bug
information 1 2 2 4 acb004 snapshot and 2 2 3 2 mac 3 play store stacktrace logcat I use apktool 2 2 4 acb004 snapshot on hangout apk I load resource table exception in thread main brut androlib androlibexception could not decode arsc file at brut androlib re decoder arscdecoder decode arscdecoder java 52 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 562 at brut androlib re androlibresource loadmainpkg androlibresource java 72 at brut androlib re androlibresource getrestable androlibresource java 64 at brut androlib androlib getrestable androlib java 68 at brut androlib apkdecoder settargetsdkversion apkdecoder java 207 at brut androlib apkdecoder decode apkdecoder java 109 at brut apktool main cmddecode main java 166 at brut apktool main main main java 81 cause by java io ioexception expect 0x00000008 get 0x00000202 at brut util extdatainput skipcheckshort extdatainput java 56 at brut androlib re decoder arscdecoder readvalue arscdecoder java 309 at brut androlib re decoder arscdecoder readentry arscdecoder java 241 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 226 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 156 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 118 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 80 at brut androlib re decoder arscdecoder decode arscdecoder java 47 8 more step to reproduce 1 apktool d hangout apk
ibotpeachesapktool
error when compile apk magisk
Bug
information 1 apktool version apktool 2 2 3 2 operating system linux 3 apk from xda dev lien apk cwiuxcjl uanprwannivqq1bbd68whktvwtwosjh z86u7xuxjos stacktrace logcat java jar apktool 2 2 3 jar b magisk 5 0 2 I use apktool 2 2 3 ea16f3 snapshot I check whether source have change I check whether resource have change I build resource w re drawable avd hide password 0 xml invalid file name must contain only a za z0 9 ignore w re drawable avd hide password 1 xml invalid file name must contain only a za z0 9 ignore w re drawable avd hide password 2 xml invalid file name must contain only a za z0 9 ignore w re drawable avd show password 0 xml invalid file name must contain only a za z0 9 ignore w re drawable avd show password 1 xml invalid file name must contain only a za z0 9 ignore w re drawable avd show password 2 xml invalid file name must contain only a za z0 9 ignore w a 2176 first type be not attr exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 134 tmp brut util jar 3024565972388081494 tmp p force package i d 127 min sdk version 21 target sdk version 26 version code 42 version name 5 0 2 no version vector f tmp apktool3219031163723745442 tmp 0 arsc 0 asset private key pk8 0 arsc I home fayz local share apktool framework 1 apk s home fayz apks trad magisk 5 0 2 re m home fayz apks trad magisk 5 0 2 androidmanif xml at brut androlib androlib buildresourcesfull androlib java 477 at brut androlib androlib buildresource androlib java 411 at brut androlib androlib build androlib java 310 at brut androlib androlib build androlib java 263 at brut apktool main cmdbuild main java 231 at brut apktool main main main java 84
ibotpeachesapktool
error on decompile whit v2 2 2 java lang nullpointerexception
Bug
information 1 apktool version 2 2 2 2 window 3 apk from playstore stacktrace logcat w null exception in thread main java lang nullpointerexception at brut androlib re datum value resvaluefactory factory resvaluefactory java 74 at brut androlib re decoder arscdecoder readvalue arscdecoder java 315 at brut androlib re decoder arscdecoder readentry arscdecoder java 241 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 226 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 156 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 118 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 80 at brut androlib re decoder arscdecoder decode arscdecoder java 47 at brut androlib re androlibresource getrespackagesfromapk androlibresource java 559 at brut androlib re androlibresource loadmainpkg androlibresource java 72 at brut androlib re androlibresource getrestable androlibresource java 64 at brut androlib androlib getrestable androlib java 67 at brut androlib apkdecoder settargetsdkversion apkdecoder java 193 at brut androlib apkdecoder decode apkdecoder java 102 at brut apktool main cmddecode main java 166 at brut apktool main main main java 81 apk for test framework apk
ibotpeachesapktool
1px tall wide 9patch image decode fail
Bug
information 1 apktool 2 2 3 dirty 2 window 3 android o stacktrace ps e image bullhead opp2 170420 019 system priv app systemui java jar apktool 2 2 3 dirty small jar b systemui no src I use apktool 2 2 3 dirty I check whether source have change I check whether resource have change I build resource w error 9 patch image e image bullhead opp2 170420 019 system priv app systemui systemui re drawable xxhdpi pip dismiss scrim 9 png malforme w no marked region find along edge w find along leave edge w error failure processing png image e image bullhead opp2 170420 019 system priv app systemui systemui re drawable xxhdpi pip dismiss scrim 9 png exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 1 c user 8523 1 appdata local temp brut util jar 6815133651981008170 tmp p force package i d 127 min sdk version o target sdk version o version code 25 version name o no version vector f c user 8523 1 appdata local temp apktool1879548677653248317 tmp 0 arsc 0 arsc I c user appdata local apktool framework 1 apk s e image bullhead opp2 170420 019 system priv app systemui systemui re m e image bullhead opp2 170420 019 system priv app systemui systemui androidmanifest xml at brut androlib androlib buildresourcesfull androlib java 493 at brut androlib androlib buildresource androlib java 427 at brut androlib androlib build androlib java 326 at brut androlib androlib build androlib java 264 at brut apktool main cmdbuild main java 231 at brut apktool main main main java 84 cause by brut androlib androlibexception brut common brutexception could not exec exit code 1 c user 8523 1 appdata local temp brut util jar 6815133651981008170 tmp p force package i d 127 min sdk version o target sdk version o version code 25 version name o no version vector f c user 8523 1 appdata local temp apktool1879548677653248317 tmp 0 arsc 0 arsc I c user appdata local apktool framework 1 apk s e image bullhead opp2 170420 019 system priv app systemui systemui re m e image bullhead opp2 170420 019 system priv app systemui systemui androidmanifest xml at brut androlib re androlibresource aaptpackage androlibresource java 441 at brut androlib androlib buildresourcesfull androlib java 479 5 more cause by brut common brutexception could not exec exit code 1 c user 8523 1 appdata local temp brut util jar 6815133651981008170 tmp p force package i d 127 min sdk version o target sdk version o version code 25 version name o no version vector f c user 8523 1 appdata local temp apktool1879548677653248317 tmp 0 arsc 0 arsc I c user appdata local apktool framework 1 apk s e image bullhead opp2 170420 019 system priv app systemui systemui re m e image bullhead opp2 170420 019 system priv app systemui systemui androidmanifest xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 435 6 more step to reproduce 1 java jar apktool 2 2 3 dirty small jar b systemui no src apk gdrive question to ask before submission 1 yeah 3 yes
ibotpeachesapktool
huawei apks
Bug
capturar hi huawei apks have error and we can t decompile it it be possibel to insert a decompile compile ignore option like this we can tweak it and then compile it thank
ibotpeachesapktool
kotlin sample app build not work
Bug
information 1 apktool version apktool version 2 2 3 dirty 2 2 2 2 operating system mac linux window window 3 apk from playstore rom other kotlin sample app stacktrace logcat I use apktool 2 2 3 dirty I check whether source have change I smale smali folder into class dex I check whether resource have change I build resource w a 15044 first type be not attr w w this application have request the runtime to terminate it in an unusual way w please contact the application s support team for more information exception in thread main brut androlib androlibexception brut androlib androlibexception brut common brutexception could not exec exit code 3 c user user appdata local temp brut util jar 4058827053303104259 tmp p force package i d 127 min sdk version 14 target sdk version 23 version code 1 version name 1 0 no version vector f c user user appdata local temp apktool142551802667663674 tmp 0 arsc 0 arsc I c user user appdata local apktool framework 1 apk s c user user test app debugkotlin re m c user user test app debugkotlin androidmanifest xml at brut androlib androlib buildresourcesfull androlib java 493 at brut androlib androlib buildresource androlib java 427 at brut androlib androlib build androlib java 326 at brut androlib androlib build androlib java 264 at brut apktool main cmdbuild main java 231 at brut apktool main main main java 84 cause by brut androlib androlibexception brut common brutexception could not exec exit code 3 c user user appdata local temp brut util jar 4058827053303104259 tmp p force package i d 127 min sdk version 14 target sdk version 23 version code 1 version name 1 0 no version vector f c user user appdata local temp apktool142551802667663674 tmp 0 arsc 0 arsc I c user user appdata local apktool framework 1 apk s c user user test app debugkotlin re m c user user test app debugkotlin androidmanifest xml at brut androlib re androlibresource aaptpackage androlibresource java 441 at brut androlib androlib buildresourcesfull androlib java 479 5 more cause by brut common brutexception could not exec exit code 3 c user user appdata local temp brut util jar 4058827053303104259 tmp p force package i d 127 min sdk version 14 target sdk version 23 version code 1 version name 1 0 no version vector f c user user appdata local temp apktool142551802667663674 tmp 0 arsc 0 arsc I c user user appdata local apktool framework 1 apk s c user user test app debugkotlin re m c user user test app debugkotlin androidmanifest xml at brut util os exec os java 95 at brut androlib re androlibresource aaptpackage androlibresource java 435 6 more step to reproduce 1 make a decode of the apk 2 try to build the folder again apk app debugkotlin zip
ibotpeachesapktool
extraneous debug output
Bug
ever since I merge I m get some strange debug output desktop apktool b testunknown f I use apktool 2 2 3 0e6eaf snapshot I smale smali folder into class dex I build resource w v4 versionname w 4 versionname2 w v4 versionname w 4 versionname2 w v4 versionname w 4 versionname2 w v4 versionname w 4 versionname2 w v4 versionname w 4 versionname2 I build apk file I copy unknown file dir desktop note to myself to investigate where this be come from no need to log out what look like version code qualifier
ibotpeachesapktool
apk with relative path entry can t be extract
Bug
I m have a problem extract an apk that contain entry with relative path one entry in the apk zip file be asset 0 logo png this actually seem to be a legit thing to do for zip archive I want to provide a pull request that will just ignore entry like these when extract the apk archive but I want to make sure beforehand that the maintainer agree that this be a case that should be handle within apktool information 1 apktool version apktool version 2 2 2 but also happen in current master commit ea16f3ff1d00071619b17afb74a73fac28c5b41e 2 operating system mac linux windows macos sierra 10 12 4 3 apk from playstore rom other other stacktrace logcat exception in thread main brut androlib androlibexception brut directory directoryexception error copying file asset 0 logo png at brut androlib androlib decodeunknownfiles androlib java 217 at brut androlib apkdecoder decode apkdecoder java 158 at brut apktool main cmddecode main java 166 at brut apktool main main main java 81 cause by brut directory directoryexception error copying file asset 0 logo png at brut directory dirutil copytodir dirutil java 88 at brut directory abstractdirectory copytodir abstractdirectory java 207 at brut androlib androlib decodeunknownfiles androlib java 210 3 more cause by java io filenotfoundexception apk with relative path unknown asset 0 logo png no such file or directory at java io fileoutputstream open0 native method at java io fileoutputstream open fileoutputstream java 270 at java io fileoutputstream fileoutputstream java 213 at java io fileoutputstream fileoutputstream java 162 at brut directory dirutil copytodir dirutil java 84 5 more step to reproduce 1 apktool d apk with relative path apk framework if this apk be from an oem rom samsung htc lg please attach framework file apks that live in system framework or system priv app no apk unfortunately I can t share the original apk with the problem but I craft an apk illustrate the problem I think that this apk can not be instal on real device because I didn t codesign it question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it n a 3 be you use the late apktool version yes
ibotpeachesapktool
apktool add api version itself on resource folder
Bug
information 1 apktool version apktool 2 2 2 2 operating system window 3 apk from rom 4 rom info asus padfone s 4 4 2 stock step to reproduce 1 apktool if framework re apk apktool d systemui apk apktool b systemui apk framework apk question to ask before submission 1 have you try apktool d apktool b without change anything yes 2 if you be try to install a modify apk do you resign it not do this 3 be you use the late apktool version yes problematic screenshot
ibotpeachesapktool
error with animate vector drawble
Bug
information 1 apktool version apktool version 2 2 2 2 operating system mac linux window window 10 3 apk from playstore rom other sony nougat 7 1 1 stacktrace logcat log for systemui apk log type decompiling log record at 25 03 17 8 23 57 38 log record by advanced apktool v4 1 0 by bdfreak exception in thread main java lang illegalstateexception duplicate prefix android at org xmlpull mxp1 serializer mxserializer setprefix mxserializer java 438 at org xmlpull v1 wrapper classic staticxmlserializerwrapper setprefix staticxmlserializerwrapper java 132 at org xmlpull v1 wrapper classic staticxmlserializerwrapper writestarttag staticxmlserializerwrapper java 261 at org xmlpull v1 wrapper classic staticxmlserializerwrapper event staticxmlserializerwrapper java 211 at brut androlib re decoder xmlpullstreamdecoder 1 event xmlpullstreamdecoder java 83 at brut androlib re decoder xmlpullstreamdecoder decode xmlpullstreamdecoder java 141 at brut androlib re decoder resstreamdecodercontainer decode resstreamdecodercontainer java 33 at brut androlib re decoder resfiledecoder decode resfiledecoder java 120 at brut androlib re decoder resfiledecoder decode resfiledecoder java 105 at brut androlib re androlibresource decode androlibresource java 262 at brut androlib androlib decoderesourcesfull androlib java 132 at brut androlib apkdecoder decode apkdecoder java 108 at brut apktool main cmddecode main java 166 at brut apktool main main main java 81 step to reproduce 1 apktool try to decompile framework and apk question to ask before submission 1 have you try apktool d apktool b without change anything not relate 2 if you be try to install a modify apk do you resign it not relate 3 be you use the late apktool version yes more information we aren t able to decompile the apk issue be inside re drawable folder if you remove all file somc sony clock 2 anim vector drawable xxx xml you re able to decompile thank
ibotpeachesapktool
android o dev preview support
Bug
information 1 apktool version apktool v2 2 2 2 operating system window 3 apk from rom stacktrace logcat c user desktop bullhead opp1 170223 012 factory 338a95b1 bullhead opp1 170223 012 system framework java jar apktool 2 2 2 jar if framework re apk exception in thread main java lang stringindexoutofboundsexception string index out of range 111 at java lang string substre unknown source at brut androlib re decoder stringblock gethtml stringblock java 162 at brut androlib re decoder arscdecoder readvalue arscdecoder java 315 at brut androlib re decoder arscdecoder readentry arscdecoder java 241 at brut androlib re decoder arscdecoder readtabletype arscdecoder java 226 at brut androlib re decoder arscdecoder readtabletypespec arscdecoder java 156 at brut androlib re decoder arscdecoder readtablepackage arscdecoder java 118 at brut androlib re decoder arscdecoder readtableheader arscdecoder java 80 at brut androlib re decoder arscdecoder decode arscdecoder java 47 at brut androlib re decoder arscdecoder decode arscdecoder java 39 at brut androlib re androlibresource installframework androlibresource java 640 at brut androlib re androlibresource installframework androlibresource java 622 at brut androlib androlib installframework androlib java 683 at brut apktool main cmdinstallframework main java 241 at brut apktool main main main java 87 java jar apktool 2 2 2 jar if framework res apk
ibotpeachesapktool
apktool 2 2 2 classcastexception rescolorvalue resattr
Bug
it be almost the same issue with above apktook try to cast resstringvalue to resattr and it get an exception only this time it be rescolorvalue I personally modify the source as above and rebuild the apktool and it decompile the apk without a problem I d like to report here just in case it be a bug 10 36 git diff diff git a brut apktool apktool lib src main java brut androlib re datum value resstylevalue java b brut apktool apktool lib src main java brut androlib re datum value resstylevalue java index cc96e65 acba323 100644 a brut apktool apktool lib src main java brut androlib re datum value resstylevalue java b brut apktool apktool lib src main java brut androlib re datum value resstylevalue java 68 7 68 7 public class resstylevalue extend resbagvalue implement if resource contain resreferencevalue continue else if resource contain resstringvalue resource contain resstylevalue resource contain resboolvalue resource contain resboolvalue resource contain rescolorvalue name spec getfullname res getresspec getpackage false else resattr attr resattr spec getdefaultresource getvalue information 1 apktool version apktool version 2 2 2 2 operating system mac linux window window 3 apk from playstore rom other playstore stacktrace logcat java jar apktool 2 2 2 jar d f xxx apk I use apktool 2 2 2 on xxx apk I load resource table I decode androidmanif xml with resource I load resource table from file c user yyy appdata local apktool framework 1 apk I regular manifest package I decode file resource I decode value xmls exception in thread main java lang classcastexception brut androlib re datum value rescolorvalue can not be cast to brut androlib re datum value resattr at brut androlib re datum value resstylevalue serializetoresvaluesxml resstylevalue java 74 at brut androlib re androlibresource generatevaluesfile androlibresource java 517 at brut androlib re androlibresource decode androlibresource java 267 at brut androlib androlib decoderesourcesfull androlib java 131 at brut androlib apkdecoder decode apkdecoder java 108 at brut apktool main cmddecode main java 166 at brut apktool main main main java 81 step to reproduce 1 java jar apktool 2 2 2 jar d f xxx apk