[Android Software Development] koko115:
Yes i install twframework-res.

On PC in program like TickleMyAndroid using 2.2.4 or 2.1.1 apktool recompile is ok.

Yes this is stock deodex systemui from samsung rom.

No. I dont know how building a snapshot apktool.

I think is a gif files problem in drawable. When i delate gifs from res/drawable and recompile i have this

WARNING: linker: Warning: unable to normalize ""
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1949: error: Public symbol drawable/ACube declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1950: error: Public symbol drawable/AlienTwerking declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1970: error: Public symbol drawable/BMLogoBlack declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1971: error: Public symbol drawable/BMLogoBlue declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:2073: error: Public symbol drawable/BMLogoYellow declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1951: error: Public symbol drawable/BadKoolAid declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1952: error: Public symbol drawable/BadSkeleton declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1953: error: Public symbol drawable/BattleStance declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1954: error: Public symbol drawable/BicLighter declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1955: error: Public symbol drawable/Bird declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1956: error: Public symbol drawable/BoobShoots declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1957: error: Public symbol drawable/BrianPeanutButterJelyTime declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1958: error: Public symbol drawable/ButtShake declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1959: error: Public symbol drawable/Butterfly declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1960: error: Public symbol drawable/Cats declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1961: error: Public symbol drawable/ChesterCheto declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1962: error: Public symbol drawable/CoolAPe declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1963: error: Public symbol drawable/DancingElsa declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1964: error: Public symbol drawable/DoubleMeaning declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1965: error: Public symbol drawable/Eyeball declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1966: error: Public symbol drawable/MM declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1967: error: Public symbol drawable/PifWithBacon declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1968: error: Public symbol drawable/PleaseNo declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1969: error: Public symbol drawable/RotatingSkeletonOnChair declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1972: error: Public symbol drawable/SkeletonCuttingFood declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1973: error: Public symbol drawable/SkeletonNoIceCream declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1974: error: Public symbol drawable/SkeletonWave declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1975: error: Public symbol drawable/SkeltonEatingChetos declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1976: error: Public symbol drawable/Stitch declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1977: error: Public symbol drawable/StitchBraHead declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1978: error: Public symbol drawable/StitchDrop declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1979: error: Public symbol drawable/WaitingSkeleton declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1980: error: Public symbol drawable/WalkingDeadBirth declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1981: error: Public symbol drawable/WalkingWolf declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1982: error: Public symbol drawable/WavingFroven declared here is not defined.
W: /storage/emulated/0/ApkTool/SystemUI_src/res/values/public.xml:1983: error: Public symbol drawable/abstract2 declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 20170630, --version-name, 7.0, --no-version-vectors, -F, /data/data/per.pqy.apktool/APKTOOL6655605658815263499.tmp, -0, arsc, -0, qmg, -0, svg, -0, glsl, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/emulated/0/ApkTool/SystemUI_src/res, -M, /storage/emulated/0/ApkTool/SystemUI_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:496)
at brut.androlib.Androlib.buildResources(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)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 20170630, --version-name, 7.0, --no-version-vectors, -F, /data/data/per.pqy.apktool/APKTOOL6655605658815263499.tmp, -0, arsc, -0, qmg, -0, svg, -0, glsl, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/emulated/0/ApkTool/SystemUI_src/res, -M, /storage/emulated/0/ApkTool/SystemUI_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:441)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:482)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 20170630, --version-name, 7.0, --no-version-vectors, -F, /data/data/per.pqy.apktool/APKTOOL6655605658815263499.tmp, -0, arsc, -0, qmg, -0, svg, -0, glsl, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/emulated/0/ApkTool/SystemUI_src/res, -M, /storage/emulated/0/ApkTool/SystemUI_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:435)
... 6 more
I: Using Apktool 2.2.4
I: Smaling smali folder into classes.dex...
I: Building resources...