[Android Q&A, Help & Troubleshooting] Gilzy:
Hey everyone,

I decompiled an apk, changed a little something in it and tried to recompile it, got an error.

After a lot of trial and error, still couldn't get the thing to compile (while other apks worked just fine), so just for the heck of it I took the original apk, decompiled it and tried to recompile it and still got an error! Without making any changes at all!

I'm using APK Easy Tool, everything up to date.

Here's the log file (minimum effort to avoid disclosing information about my pc \ app was made, hope I didn't miss anything):

mpiling APK file... (CMD mode: Normal)

/c "java -Xmx1024m -jar "C:\Program Files (x86)\APK Easy Tool\Apktool\apktool_2.3.4.jar" b -f -o "C:\Android\APK Easy Tool\2-Recompiled APKs\MyApp.apk" "C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp" "

S: WARNING: Could not write to (C:\Users\XXXX\AppData\Local\apktool\framework), using C:\Users\XXXX\AppData\Local\Temp\ instead...
S: Please be aware this is a volatile directory and frameworks could go missing, please utilize --frame-path if the default storage directory is unavailable
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:40: error: Public symbol array/AudioSources declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:41: error: Public symbol array/AudioSourcesValues declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:42: error: Public symbol array/BasicRecordingFormatsDoesNotSupportGainAndPause declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:43: error: Public symbol array/BluetoothNoiseSources declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:44: error: Public symbol array/BluetoothNoiseValues declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:45: error: Public symbol array/CallRecordingMode declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:46: error: Public symbol array/CallRecordingModeValues declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:47: error: Public symbol array/CloudNamingFormats declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:48: error: Public symbol array/CloudNamingFormatsValues declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:49: error: Public symbol array/CloudUploadFileSizeLimits declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:50: error: Public symbol array/CloudUploadFileSizeLimitsValuesInBytes declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:51: error: Public symbol array/IncomingRecordingFilters declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:52: error: Public symbol array/IncomingRecordingFiltersValues declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:53: error: Public symbol array/OutgoingRecordingFilters declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:54: error: Public symbol array/OutgoingRecordingFiltersValues declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyAppres\values\public.xml:55: error: Public symbol array/RecordingDelay declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:56: error: Public symbol array/RecordingFormats declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:57: error: Public symbol array/ShortRecordingDeleteSeconds declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:58: error: Public symbol array/TranslatorsList declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:59: error: Public symbol array/cloud_ftp_encryptions declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:60: error: Public symbol array/cloud_ftp_encryptions_values declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:61: error: Public symbol array/settings_language_entries declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:62: error: Public symbol array/settings_language_values declared here is not defined.
W: C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res\values\public.xml:63: error: Public symbol array/supported_languages declared here is not defined.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\XXXX\AppData\Local\Temp\brut_util_Jar_221161683392325142.tmp, p, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 27, --version-code, 300, --version-name, 30.0, --no-version-vectors, -F, C:\Users\XXXX\AppData\Local\Temp\APKTOOL1178066947481021073.tmp, -0, arsc, -0, res/drawable-hdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png, -0, png, -0, res/drawable-hdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-hdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-hdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-hdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-hdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-hdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-hdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-hdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-hdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-hdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-hdpi-v4/abc_scrubber_primary_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_scrubber_track_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-hdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/common_google_signin_btn_icon_dark_normal_background.9.png, -0, res/drawable-hdpi-v4/common_google_signin_btn_icon_light_normal_background.9.png, -0, res/drawable-hdpi-v4/common_google_signin_btn_text_dark_normal_background.9.png, -0, res/drawable-hdpi-v4/common_google_signin_btn_text_light_normal_background.9.png, -0, res/drawable-hdpi-v4/divider_horizontal.9.png, -0, res/drawable-hdpi-v4/notification_bg_low_normal.9.png, -0, res/drawable-hdpi-v4/notification_bg_low_pressed.9.png, -0, res/drawable-hdpi-v4/notification_bg_normal.9.png, -0, res/drawable-hdpi-v4/notification_bg_normal_pressed.9.png, -0, res/drawable-ldrtl-hdpi-v17/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-ldrtl-mdpi-v17/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-ldrtl-xhdpi-v17/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-ldrtl-xxhdpi-v17/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-ldrtl-xxxhdpi-v17/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-mdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-mdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-mdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-mdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-mdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-mdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-mdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-mdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-mdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-mdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-mdpi-v4/abc_scrubber_primary_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_scrubber_track_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-mdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/common_google_signin_btn_icon_dark_normal_background.9.png, -0, res/drawable-mdpi-v4/common_google_signin_btn_icon_light_normal_background.9.png, -0, res/drawable-mdpi-v4/common_google_signin_btn_text_dark_normal_background.9.png, -0, res/drawable-mdpi-v4/common_google_signin_btn_text_light_normal_background.9.png, -0, res/drawable-mdpi-v4/divider_horizontal.9.png, -0, res/drawable-mdpi-v4/notification_bg_low_normal.9.png, -0, res/drawable-mdpi-v4/notification_bg_low_pressed.9.png, -0, res/drawable-mdpi-v4/notification_bg_normal.9.png, -0, res/drawable-mdpi-v4/notification_bg_normal_pressed.9.png, -0, res/drawable-night-hdpi-v8/divider_horizontal.9.png, -0, res/drawable-night-mdpi-v8/divider_horizontal.9.png, -0, res/drawable-night-xhdpi-v8/divider_horizontal.9.png, -0, res/drawable-xhdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-xhdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-xhdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-xhdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-xhdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-xhdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-xhdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-xhdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-xhdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-xhdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-xhdpi-v4/abc_scrubber_primary_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_scrubber_track_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/common_google_signin_btn_icon_dark_normal_background.9.png, -0, res/drawable-xhdpi-v4/common_google_signin_btn_icon_light_normal_background.9.png, -0, res/drawable-xhdpi-v4/common_google_signin_btn_text_dark_normal_background.9.png, -0, res/drawable-xhdpi-v4/common_google_signin_btn_text_light_normal_background.9.png, -0, res/drawable-xhdpi-v4/divider_horizontal.9.png, -0, res/drawable-xhdpi-v4/notification_bg_low_normal.9.png, -0, res/drawable-xhdpi-v4/notification_bg_low_pressed.9.png, -0, res/drawable-xhdpi-v4/notification_bg_normal.9.png, -0, res/drawable-xhdpi-v4/notification_bg_normal_pressed.9.png, -0, res/drawable-xxhdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-xxhdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-xxhdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-xxhdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-xxhdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-xxhdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-xxhdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-xxhdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-xxhdpi-v4/abc_scrubber_primary_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_scrubber_track_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/common_google_signin_btn_icon_dark_normal_background.9.png, -0, res/drawable-xxhdpi-v4/common_google_signin_btn_icon_light_normal_background.9.png, -0, res/drawable-xxhdpi-v4/common_google_signin_btn_text_dark_normal_background.9.png, -0, res/drawable-xxhdpi-v4/common_google_signin_btn_text_light_normal_background.9.png, -0, res/drawable-xxxhdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-xxxhdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-xxxhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-xxxhdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-xxxhdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, wav, -0, arsc, -I, C:\Users\XXXX\AppData\Local\Temp\1.apk, -S, C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\res, -M, C:\Android\APK Easy Tool\1-Decompiled APKs\MyApp\AndroidManifest.xml]