[Android Software Development] donothurtme:
Problem recompiling an app

Hi, i'm trying to use Apk Multitool 1.0.10 to edit some image files, names ecc in apks. however i'm encountering a problem with an app (non system app), decompiling runs smoothly but recompiling always gets stuck giving errors. I've searched for a solution but couldn't find any working one.

Here are some info:

- non system apk

- Decompile ok but recompile aborts even without touching the project at all

- Decompiling and recompiling another 3rd party apk works

- latest apk multitool

- multitool folder is in C://

- windows xp

Here's the log

--------------------------------------------------------------------------
|10/11/2012 -- 16.42.24,96|
--------------------------------------------------------------------------
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode, sharing)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Documents and Settings\famigliadd\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\arrays.xml:569: error: Found tag reference-array where item is expected
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2241: error: Public symbol array/columnlist declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2248: error: Public symbol array/configlist declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2231: error: Public symbol array/default_smiley_texts declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2235: error: Public symbol array/im_music_select declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2242: error: Public symbol array/layoutidlist declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2245: error: Public symbol array/max_count_items declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2246: error: Public symbol array/max_count_value declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2244: error: Public symbol array/minHeight declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2243: error: Public symbol array/minWidth declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2234: error: Public symbol array/music_select declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2217: error: Public symbol array/pref_entries_value_screen_timeout_num declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2227: error: Public symbol array/pref_entryvalues_popupwindow_overtime declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2219: error: Public symbol array/pref_setting_gosmslanguage_entries declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2249: error: Public symbol array/pref_setting_gosmslanguage_entries_fuji declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2222: error: Public symbol array/pref_setting_gosmslanguage_entries_indian declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2220: error: Public symbol array/pref_setting_gosmslanguage_entries_ms declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2221: error: Public symbol array/pref_setting_gosmslanguage_entries_th declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2218: error: Public symbol array/pref_setting_gosmslanguage_values declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2250: error: Public symbol array/pref_setting_gosmslanguage_values_fuji declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2225: error: Public symbol array/pref_setting_gosmslanguage_values_indian declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2223: error: Public symbol array/pref_setting_gosmslanguage_values_ms declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2224: error: Public symbol array/pref_setting_gosmslanguage_values_th declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2251: error: Public symbol array/pref_values_add_friend_rule declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2226: error: Public symbol array/pref_values_conversation_style declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2236: error: Public symbol array/pref_values_group_notify declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2215: error: Public symbol array/pref_values_speech_engine declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2216: error: Public symbol array/pref_values_speech_language declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2230: error: Public symbol array/private_box_lock_type_values declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2229: error: Public symbol array/privatebox_preference_values_autolock declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2240: error: Public symbol array/rowlist declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2228: error: Public symbol array/schedule_circle_array declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2247: error: Public symbol array/settinglist declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2233: error: Public symbol array/sexs declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2238: error: Public symbol array/stylenamelist declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2237: error: Public symbol array/stylepreviewlist declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2239: error: Public symbol array/styletypelist declared here is not defined.
C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res\values\public.xml:2232: error: Public symbol array/yanface_texts declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 4, --target-sdk-version, 8, -F, C:\DOCUME~1\FAMIGL~1\IMPOST~1\Temp\APKTOOL4309577168567416363.tmp, -I, C:\Documents and Settings\famigliadd\apktool\framework\1.apk, -S, C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res, -M, C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 4, --target-sdk-version, 8, -F, C:\DOCUME~1\FAMIGL~1\IMPOST~1\Temp\APKTOOL4309577168567416363.tmp, -I, C:\Documents and Settings\famigliadd\apktool\framework\1.apk, -S, C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\res, -M, C:\APK-Multi-Tool\other\..\projects\com.jb.gosms.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
... 6 more

Has anyone an idea of what's wrong? Thanks