[Desire Android Development] dhostetter:
Recompiling Error, Help Needed

I've searched the posts but did not find the answer. So if it has been answered please forgive me.

I came across this tool and it looks awesome. So I pulled my Framework-res, twframework-res, and my systemUI just to see how it works.

System info:

xdaAutoTool v3.0.1

UnNamed ROM 2.2.1, version 2.3.6

I installed framework-res, and then added another: twframework-res. twframework-res was not in the input_apk directory.

Decompiling all was fine, no errors.

Recompiled all popped several errors with the framework-res which I thought was odd since I did not change anything. I just wanted to see what it would do.

Full log file attached but here’s part of the log file:

-----------------------------------------------------

[*] Processing framework-res folder...

-----------------------------------------------------

Recompiling framework-res.apk...

W: Could not find sources

I: Building resources...

C:\xdaAutoTool\_INPUT_APK\framework-res\res\values\strings.xml:126: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?

C:\xdaAutoTool\_INPUT_APK\framework-res\res\values\strings.xml:126: error: Unexpected end tag string

C:\xdaAutoTool\_INPUT_APK\framework-res\res\values-de\strings.xml:113: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?

C:\xdaAutoTool\_INPUT_APK\framework-res\res\values-de\strings.xml:113: error: Unexpected end tag string

C:\xdaAutoTool\_INPUT_APK\framework-res\res\values-en-rUS\strings.xml:91: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?

C:\xdaAutoTool\_INPUT_APK\framework-res\res\values-it\strings.xml:113: error: Unexpected end tag string

C:\xdaAutoTool\_INPUT_APK\framework-res\res\values-ko\strings.xml:113: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?

C:\xdaAutoTool\_INPUT_APK\framework-res\res\values-ko\strings.xml:113: error: Unexpected end tag string

This part goes on and on! - Dropped most of it for the post.

C:\xdaAutoTool\_INPUT_APK\framework-res\res\values\public.xml:2900: error: Public symbol string/APKTOOL_DUMMY_0502 declared here is not defined.

C:\xdaAutoTool\_INPUT_APK\framework-res\res\values\public.xml:2901: error: Public symbol string/APKTOOL_DUMMY_0503 declared here is not defined.

C:\xdaAutoTool\_INPUT_APK\framework-res\res\values\public.xml:2712: error: Public symbol string/zzzzz_tw_cursor_handle_clipboard declared here is not defined.

C:\xdaAutoTool\_INPUT_APK\framework-res\res\values\public.xml:2778: error: Public symbol string/zzzzz_tw_cursor_handle_popup_search declared here is not defined.

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\DAVIDH~1\AppData\Local\Temp\APKTOOL105569780106089811.tmp, -x, -S, C:\xdaAutoTool\_INPUT_APK\framework-res\res, -M, C:\xdaAutoTool\_INPUT_APK\framework-res\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)

at brut.androlib.Androlib.buildResourcesFull(Unknown Source)

at brut.androlib.Androlib.buildResources(Unknown Source)

at brut.androlib.Androlib.build(Unknown Source)

at brut.androlib.Androlib.build(Unknown Source)

at brut.apktool.Main.cmdBuild(Unknown Source)

at brut.apktool.Main.main(Unknown Source)

Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\DAVIDH~1\AppData\Local\Temp\APKTOOL105569780106089811.tmp, -x, -S, C:\xdaAutoTool\_INPUT_APK\framework-res\res, -M, C:\xdaAutoTool\_INPUT_APK\framework-res\AndroidManifest.xml]

at brut.util.OS.exec(Unknown Source)

... 7 more

DONE!

-----------------------------------------------------

[*] Processing SystemUI folder...

-----------------------------------------------------

Recompiling SystemUI.apk...

I: Smaling...

I: Building resources...

I: Building apk file...

DONE!

I would love to start using this tool. Just need a little help to get started.

Any guidance would be appreciated.

Dave