[Android Software/Hacking General [Developers Only]] opdrago:
i did what you said before, i didnt copy the file resources.arsc.

it decompile fine but when i recompiling without editing the files

i get this error:

Re-compiling... "C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk"

I: Smaling...

I: Building resources...

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_caller_in_conference.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_caller_in_conference.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_caller_in_conference.xml:5: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_conference_list_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_incallscreen_large.xml:6: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_incallscreen_large.xml:8: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_incallscreen_large.xml:19: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout-land\semc_incallscreen_large.xml:7: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout-land\semc_incallscreen_large.xml:9: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_incallscreen_small.xml:8: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_incallscreen_small.xml:10: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_incallscreen_small.xml:32: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_manage_conference.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_manage_conference.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_manage_conference.xml:8: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_soundmenu.xml:5: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_soundmenu.xml:9: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_soundmenu.xml:14: error: No resource identifier found for attribute 'directionality' in package 'android'

C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res\layout\semc_soundmenu.xml:18: error: No resource identifier found for attribute 'directionality' in package 'android'

aapt: warning: string 'callsetting_strings_forward_always_forwarding_des_txt' has no default translation in C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res; found: ja

aapt: warning: string 'callsetting_strings_forward_always_forwarding_txt' has no default translation in C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res; found: ja

aapt: warning: string 'callsetting_strings_forward_deactivate_forwarding_des_txt' has no default translation in C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res; found: ja

aapt: warning: string 'phone_strings_groupcall_title_txt' has no default translation in C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res; found: ja

aapt: warning: string 'phone_strings_internet_endandanwer_button_txt' has no default translation in C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res; found: ja

aapt: warning: string 'phone_strings_internet_endandsend_txt' has no default translation in C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res; found: ja

aapt: warning: string 'phone_strings_internetcall_error_txt' has no default translation in C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res; found: ja

aapt: warning: string 'phone_voicemail_oversea_error_dialog_message_txt' has no default translation in C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res; found: ja

aapt: warning: string 'phone_voicemail_oversea_error_dialog_title_txt' has no default translation in C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res; found: ja

aapt: warning: string 'roaming_enable_txt' has no default translation in C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res; found: ja

aapt: warning: string 'webfiltering_strings_app_name_sub_txt' has no default translation in C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res; found: ja

aapt: warning: string 'webfiltering_strings_app_name_txt' has no default translation in C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res; found: ja

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\G-FORCE\AppData\Local\Temp\APKTOOL1531251141294190592.tmp, -I, C:\Users\G-FORCE\apktool\framework\1.apk, -I, C:\Users\G-FORCE\apktool\framework\2.apk, -S, C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res, -M, C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:355)

at brut.androlib.Androlib.buildResources(Androlib.java:280)

at brut.androlib.Androlib.build(Androlib.java:203)

at brut.androlib.Androlib.build(Androlib.java:176)

at brut.apktool.Main.cmdBuild(Main.java:214)

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

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\G-FORCE\AppData\Local\Temp\APKTOOL1531251141294190592.tmp, -I, C:\Users\G-FORCE\apktool\framework\1.apk, -I, C:\Users\G-FORCE\apktool\framework\2.apk, -S, C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res, -M, C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:335)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:333)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\G-FORCE\AppData\Local\Temp\APKTOOL1531251141294190592.tmp, -I, C:\Users\G-FORCE\apktool\framework\1.apk, -I, C:\Users\G-FORCE\apktool\framework\2.apk, -S, C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\res, -M, C:\Users\G-FORCE\APK GUI\InProgress\SemcPhone.apk\AndroidManifest.xml]

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

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:333)

... 6 more