[Android Q&A, Help & Troubleshooting] ephraimh:
I'm trying to compile back this apk (not a system file), with "APK-Multi-Tool" (apktool based), worked for several apps but for this specific app I get the following errors, I tried compiling it back without changing anything, still get same errors, any help please :confused:

following is the from the error log:

I: Checking whether sources has changed...

I: Smaling...

I: Checking whether resources has changed...

I: Building resources...

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-v17\calendars_dropdown_item.xml:5: error: No resource identifier found for attribute 'layout_toEndOf' in package 'android'

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-v17\calendars_dropdown_item.xml:6: error: No resource identifier found for attribute 'layout_alignStart' in package 'android'

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout\info_layout_molad_rtl.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '0').

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land\main_activity.xml:4: error: No resource identifier found for attribute 'layout_alignParentStart' in package 'android'

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land\main_activity.xml:5: error: No resource identifier found for attribute 'layout_toStartOf' in package 'android'

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land\main_activity.xml:5: error: No resource identifier found for attribute 'layout_toEndOf' in package 'android'

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land\main_activity.xml:6: error: No resource identifier found for attribute 'layout_alignParentEnd' in package 'android'

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land-v17\main_activity.xml:4: error: No resource identifier found for attribute 'layout_alignParentStart' in package 'android'

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land-v17\main_activity.xml:5: error: No resource identifier found for attribute 'layout_toStartOf' in package 'android'

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land-v17\main_activity.xml:5: error: No resource identifier found for attribute 'layout_toEndOf' in package 'android'

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land-v17\main_activity.xml:6: error: No resource identifier found for attribute 'layout_alignParentEnd' in package 'android'

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout\month_fragment.xml:4: error: Error: Integer types not allowed (at 'layoutDirection' with value '0').

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-iw\zmanim_tablerow_one.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '0').

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-iw\zmanim_tablerow_two.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '0').

C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\drawable\menu_tab_land_indicator_holo.xml:2: error: No resource identifier found for attribute 'autoMirrored' in package 'android'

aapt: warning: string 'accessibility_email_notification' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'accounts' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'acct_not_synced' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'acessibility_cal_notification' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'acessibility_snooze_notification' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'alert_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'app_label' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'auth_client_needs_enabling_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu

aapt: warning: string 'auth_client_needs_installation_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu

aapt: warning: string 'auth_client_needs_update_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu

aapt: warning: string 'auth_client_play_services_err_notification_msg' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu

aapt: warning: string 'auth_client_requested_by_msg' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu

aapt: warning: string 'auth_client_using_bad_version_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu

aapt: warning: string 'calendar_refresh' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'copy_db' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'create_an_account_desc' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'day_view' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'dismiss_all_label' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'do_not_check' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'event_not_found' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'gadget_no_events' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'gadget_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'hide_controls' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'menu_about_preferences' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'menu_general_preferences' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'menu_select_visible_calendars' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'month_view' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'no_calendars_found' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'not_synced' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'preferences_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'quick_response_dialog_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'quick_response_settings_edit_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'quick_response_settings_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'search' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'search_history_cleared' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'select_synced_calendars_button' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'select_synced_calendars_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'select_visible_calendars_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'show_controls' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'snooze_all_label' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'snooze_label' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'synced' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

aapt: warning: string 'week_view' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 19, -F, C:\Users\Ephraim\AppData\Local\Temp\APKTOOL8386701355830938741.tmp, -0, arsc, -I, C:\Users\Ephraim\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res, -M, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\AndroidManifest.xml]

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

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

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

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

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

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

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 19, -F, C:\Users\Ephraim\AppData\Local\Temp\APKTOOL8386701355830938741.tmp, -0, arsc, -I, C:\Users\Ephraim\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res, -M, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\AndroidManifest.xml]

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

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

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 19, -F, C:\Users\Ephraim\AppData\Local\Temp\APKTOOL8386701355830938741.tmp, -0, arsc, -I, C:\Users\Ephraim\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res, -M, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\AndroidManifest.xml]

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

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

... 6 more