[Android Software Development] alboz83:
I'm trying to install framework-res from LiquidSmooth 4.4.4 rom, but don't work, i get this error:

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x01080221 drawable/default_wallpaper, config=-sw600dp-nodpi

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:63)

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:56)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:193)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:162)

at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:128)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:103)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:675)

at brut.androlib.Androlib.installFramework(Androlib.java:641)

at brut.apktool.Main.cmdInstallFramework(Main.java:252)

at brut.apktool.Main.main(Main.java:91)

I think that the problem is trds, because there is apktool compatible with kitkat and trds, and if i replace aapt.exe, apktool.bat and apktool.jar, i can install framework. But i can't decompile because i get this error:

Microsoft Windows [Versione 6.3.9600]

(c) 2013 Microsoft Corporation. Tutti i diritti riservati.

C:\AndroidMultitool>cd C:\AndroidMultitool\Program_Files

C:\AndroidMultitool\Program_Files>apktool d C:\AndroidMultitool\Files\framework-res.apk -o C:\AndroidMultitool\Decompiled_apk\framework-res\

Apktool v1.5.3.SNAPSHOT_DEV - a tool for reengineering Android apk files

Copyright 2010 Ryszard Wi?niewski <brut.alll@gmail.com>

with smali v1.4.1, and baksmali v1.4.1

Updated by [MENTION=3924617]iBotPeaches[/MENTION] <connor.tumbleson@gmail.com>

Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)

Usage: apktool [-q|--quiet OR -v|--verbose] COMMAND [...]

COMMANDs are:

d[ecode] [OPTS] <file.apk> [<dir>]

Decode <file.apk> to <dir>.

OPTS:

-s, --no-src

Do not decode sources.

-r, --no-res

Do not decode resources.

-d, --debug

Decode in debug mode. Check project page for more info.

-b, --no-debug-info

Baksmali -- don't write out debug info (.local, .param, .line, etc.)

-f, --force

Force delete destination directory.

-t <tag>, --frame-tag <tag>

Try to use framework files tagged by <tag>.

--frame-path <dir>

Use the specified directory for framework files

--keep-broken-res

Use if there was an error and some resources were dropped, e.g.:

"Invalid config flags detected. Dropping resources", but you

want to decode them anyway, even with errors. You will have to

fix them manually before building.

b[uild] [OPTS] [<app_path>] [<out_file>]

Build an apk from already decoded application located in <app_path>.

It will automatically detect, whether files was changed and perform

needed steps only.

If you omit <app_path> then current directory will be used.

If you omit <out_file> then <app_path>/dist/<name_of_original.apk>

will be used.

OPTS:

-f, --force-all

Skip changes detection and build all files.

-d, --debug

Build in debug mode. Check project page for more info.

-a, --aapt

Loads aapt from specified location.

--frame-path <dir>

Use the specified directory for framework files

if|install-framework <framework.apk> [<tag>] --frame-path [<location>]

Install framework file to your system.

For additional info, see: http://code.google.com/p/android-apktool/

For smali/baksmali info, see: http://code.google.com/p/smali/

C:\AndroidMultitool\Program_Files>

Please help me