[G1 Android Development] affmalg:
Hi guys,

I am using Apk manager 5.0 with the latest updates and apk tool 1.3.1

I want to decompile, edit and recompile my SystemUI.apk.

My Roms framework-res is set as 1.apk

Decompiling of SystemUI.apk works (no errors)

To check that compiling works, i edit nothing, just removed the "-v4" from the drawable-hpdi folder.

Then i recompile and get always this error:

F:\Daten\Downloads\Android\Programme\Danesh-ApkManager-0033dfa\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk konnte nicht gefunden werden
F:\Daten\Downloads\Android\Programme\Danesh-ApkManager-0033dfa\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk konnte nicht gefunden werden
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\Jonathan\apktool\framework\1.apk
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
F:\Daten\Downloads\Android\Programme\Danesh-ApkManager-0033dfa\other\..\projects\SystemUI.apk\res\layout\status_bar.xml:15: error: Error: Resource is not public. (at 'textAppearance' with value '@android:style/TextAppearance.StatusBar.Ticker').
F:\Daten\Downloads\Android\Programme\Danesh-ApkManager-0033dfa\other\..\projects\SystemUI.apk\res\layout\status_bar.xml:16: error: Error: Resource is not public. (at 'textAppearance' with value '@android:style/TextAppearance.StatusBar.Ticker').
F:\Daten\Downloads\Android\Programme\Danesh-ApkManager-0033dfa\other\..\projects\SystemUI.apk\res\drawable\stat_sys_gps_acquiring_anim.xml:5: error: Error: Resource is not public. (at 'drawable' with value '@android:drawable/stat_sys_gps_on').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Jonathan\AppData\Local\Temp\APKTOOL671515209355082791.tmp, -I, C:\Users\Jonathan\apktool\framework\1.apk, -S, F:\Daten\Downloads\Android\Programme\Danesh-ApkManager-0033dfa\other\..\projects\SystemUI.apk\res, -M, F:\Daten\Downloads\Android\Programme\Danesh-ApkManager-0033dfa\other\..\projects\SystemUI.apk\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\Jonathan\AppData\Local\Temp\APKTOOL671515209355082791.tmp, -I, C:\Users\Jonathan\apktool\framework\1.apk, -S, F:\Daten\Downloads\Android\Programme\Danesh-ApkManager-0033dfa\other\..\projects\SystemUI.apk\res, -M, F:\Daten\Downloads\Android\Programme\Danesh-ApkManager-0033dfa\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more

I assume that the must be something wrong with the resource, the framework-res.apk which i placed as 1.apk

"Resource is not public" is the error.

Does anyone no how to solve this?

The curious thing is that with the previous version of the rom it worked when i was making my theme a week ago.

Now it doesn't work any more :mad: