APK Manager Compile nach XML Bearbeitung nicht möglich

rodeoflip

rodeoflip

Erfahrenes Mitglied
32
Decompile ich und danach sofort Compile ohne etwas zu bearbeiten funktioniert das compilen. Bearbeite ich jedoch eine XML egal ob Notepad++ oder XML Editor, so bekomme ich folgenden Fehler im Log.

Code:
|17.06.2012 -- 22:49:43,98| 
-------------------------------------------------------------------------- 
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Apk_Manager_5.0.2\other\..\projects\Settings.apk\res\xml\settings.xml:6: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_settings_data').
C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Apk_Manager_5.0.2\other\..\projects\Settings.apk\res\xml\settings.xml:15: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_settings_more').
C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Apk_Manager_5.0.2\other\..\projects\Settings.apk\res\xml\settings.xml:25: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_settings_battery').
C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Apk_Manager_5.0.2\other\..\projects\Settings.apk\res\xml\settings.xml:35: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_settings_location').
C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Apk_Manager_5.0.2\other\..\projects\Settings.apk\res\xml\settings.xml:44: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_settings_development').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\APKTOOL341177118126851924.tmp, -I, C:\Dokumente und Einstellungen\Administrator\apktool\framework\1.apk, -I, C:\Dokumente und Einstellungen\Administrator\apktool\framework\2.apk, -S, C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Apk_Manager_5.0.2\other\..\projects\Settings.apk\res, -M, C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Apk_Manager_5.0.2\other\..\projects\Settings.apk\AndroidManifest.xml]
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
    at brut.androlib.Androlib.buildResources(Androlib.java:248)
    at brut.androlib.Androlib.build(Androlib.java:171)
    at brut.androlib.Androlib.build(Androlib.java:154)
    at brut.apktool.Main.cmdBuild(Main.java:174)
    at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\APKTOOL341177118126851924.tmp, -I, C:\Dokumente und Einstellungen\Administrator\apktool\framework\1.apk, -I, C:\Dokumente und Einstellungen\Administrator\apktool\framework\2.apk, -S, C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Apk_Manager_5.0.2\other\..\projects\Settings.apk\res, -M, C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Apk_Manager_5.0.2\other\..\projects\Settings.apk\AndroidManifest.xml]
    at brut.util.OS.exec(OS.java:83)
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
    ... 6 more
Hobe es schon meehrfach versucht, jemand eine Idee ?

Gruß
 
Zuletzt bearbeitet:
Versuch das ganze mal in einem Pfad, der keine Leerzeichen enthält.

EDIT: Und ich bin immer wieder erstaunt, wie viele als "Administrator" arbeiten... :(
 
bei mir änliches problem das compilieren klappt aber das was zb in der xml bearbeitet worden ist wird nicht übernommen
 
Entweder einen Fehler in der XML oder es handelt sich schon um eine geänderte APK ? Habe hier eine, da muss ich immer erst die Standart Grafiken rein machen sonst geht nix.

Gruß
 

Ähnliche Themen

2
Antworten
6
Aufrufe
225
24559
2
S
  • segler11
Antworten
0
Aufrufe
1.307
segler11
S
stonebe
Antworten
1
Aufrufe
1.454
stonebe
stonebe
Zurück
Oben Unten