[Galaxy Ace S5830 Q&A, Help & Troubleshooting] panpjp:
Hi,

I'm new to Android app developing.

I got an error from apktool.

All I just did is decompile JOYSettings.apk(came from CM7.2 iPhone-style ROM) with apktool(NOT apkmultitool) and edit the "strings.xml" in /res/ , just to correct the broken English made by the ROM cooker:p but got this error when compiling:

C:\Users\pan_2\Desktop\apk>apktool b JOYSettings.apk

I: Checking whether sources has changed...

I: Checking whether resources has changed...

I: Building resources...

C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\layout-port\device_admin_add.xml:

4: error: Error: No resource type specified (at 'background' with value '@173025

04').

C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\layout-port\device_admin_settings

.xml:4: error: Error: No resource type specified (at 'background' with value '@1

7302504').

Exception in thread "main" aapt: warning: string 'add_device_admin' has no defau

lt translation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'bluetooth_ask_enablement_and_lasting_discovery' has no de

fault translation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_C

N

aapt: warning: string 'bluetooth_ask_lasting_discovery' has no default translati

on in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'bluetooth_connection_dialog_text' has no default translat

ion in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'bluetooth_connection_notif_message' has no default transl

ation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'bluetooth_connection_permission_request' has no default t

ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'bluetooth_discoverable_duration_summary' has no default t

ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'bluetooth_discoverable_duration_title' has no default tra

nslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'bluetooth_hid_profile_summary_connected' has no default t

ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'bluetooth_hid_profile_summary_use_for' has no default tra

nslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'bluetooth_is_discoverable_always' has no default translat

ion in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'bluetooth_profile_hid' has no default translation in C:\U

sers\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'bluetooth_summary_connected_to_hid' has no default transl

ation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'bluetooth_visibility_timeout' has no default translation

in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'bluetooth_visibility_timeout_summary' has no default tran

slation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'datetime_date_set_text' has no default translation in C:\

Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'datetime_time_set_text' has no default translation in C:\

Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'lock_settings_picker_title' has no default translation in

C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

aapt: warning: string 'system_updata_info' has no default translation in C:\User

s\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN

brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma

nd: [aapt, p, -F, C:\Users\pan_2\AppData\Local\Temp\APKTOOL6241782532963690871.t

mp, -I, C:\Users\pan_2\apktool\framework\1.apk, -S, C:\Users\pan_2\Desktop\apk\J

OYSettings.apk\res, -M, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\AndroidManife

st.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a: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:182)

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

Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U

sers\pan_2\AppData\Local\Temp\APKTOOL6241782532963690871.tmp, -I, C:\Users\pan_2

\apktool\framework\1.apk, -S, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res, -M

, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:83)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:191)

... 6 more

Can someone help me please:mad:

Sorry for being a noob