[Android Q&A, Help & Troubleshooting] Kabula2000:
Hi guys!

I'm sorry for my bad english but I will make an effort.:D

I have a problem with Advanced ApkTool, I can't recompile some apk like SystemUI.apk

Firstly I thought that is from the apk but I have tried with a lot of different apk from the stock rom of the phone, cyanogenmod 11 apk and plenty of other apk from different sources but it's really rare when it works. I have tried to reinstall all latest versions of JAVA (EE, SDK,..) and an part of the error has disappeared. I have also installed the lastest version of Python but it hasn't work.

I think the problem come from JAVA but I don't know how I can solve this problem.

I'm looking on internet for month but I have not found any solution.

Please help me I can't do work on my ROM without apktool.:crying:

LOG:

Log For : SystemUI.apk

Log Type : Recompiling

Log Recorded At : 16-12-16 -- 14:30:42,56

Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak

------------------------------------------------------

warning: string 'compat_mode_help_body' has no default translation.

warning: string 'compat_mode_help_header' has no default translation.

warning: string 'done_button' has no default translation.

warning: string 'jelly_bean_dream_name' has no default translation.

warning: string 'notifications_off_text' has no default translation.

warning: string 'notifications_off_title' has no default translation.

warning: string 'quick_settings_wifi_display_label' has no default translation.

warning: string 'quick_settings_wifi_display_no_connection_label' has no default translation.

warning: string 'ssl_ca_cert_dialog_title' has no default translation.

warning: string 'ssl_ca_cert_info_message' has no default translation.

warning: string 'ssl_ca_cert_settings_button' has no default translation.

warning: string 'ssl_ca_cert_warning_message' has no default translation.

warning: string 'status_bar_help_text' has no default translation.

warning: string 'status_bar_help_title' has no default translation.

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-land\status_bar_recent_item.xml:4: error: Error: Resource is not public. (at 'paddingTop' with value '@android:dimen/config_viewMaxFlingVelocity').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout\status_bar_search_panel.xml:7: error: Error: Resource is not public. (at 'innerRadius' with value '@android:dimen/preference_fragment_padding_side').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout\status_bar_search_panel.xml:7: error: Error: Resource is not public. (at 'pointDrawable' with value '@android:drawable/fastscroll_track_pressed_holo_dark').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-v21\status_bar_search_panel.xml:7: error: Error: Resource is not public. (at 'innerRadius' with value '@android:dimen/preference_fragment_padding_side').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-v21\status_bar_search_panel.xml:7: error: Error: Resource is not public. (at 'pointDrawable' with value '@android:drawable/fastscroll_track_pressed_holo_dark').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-v21\status_bar_search_panel.xml:7: error: Error: Resource is not public. (at 'glowRadius' with value '@android:dimen/preference_widget_width').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-land\status_bar_search_panel.xml:7: error: Error: Resource is not public. (at 'innerRadius' with value '@android:dimen/preference_fragment_padding_side').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-land\status_bar_search_panel.xml:7: error: Error: Resource is not public. (at 'pointDrawable' with value '@android:drawable/fastscroll_track_pressed_holo_dark').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-land-v21\status_bar_search_panel.xml:7: error: Error: Resource is not public. (at 'innerRadius' with value '@android:dimen/preference_fragment_padding_side').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-land-v21\status_bar_search_panel.xml:7: error: Error: Resource is not public. (at 'pointDrawable' with value '@android:drawable/fastscroll_track_pressed_holo_dark').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-land-v21\status_bar_search_panel.xml:7: error: Error: Resource is not public. (at 'glowRadius' with value '@android:dimen/preference_widget_width').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-sw600dp\status_bar_search_panel.xml:5: error: Error: Resource is not public. (at 'innerRadius' with value '@android:dimen/preference_fragment_padding_side').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-sw600dp\status_bar_search_panel.xml:5: error: Error: Resource is not public. (at 'pointDrawable' with value '@android:drawable/fastscroll_track_pressed_holo_dark').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-sw600dp-v21\status_bar_search_panel.xml:5: error: Error: Resource is not public. (at 'innerRadius' with value '@android:dimen/preference_fragment_padding_side').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-sw600dp-v21\status_bar_search_panel.xml:5: error: Error: Resource is not public. (at 'pointDrawable' with value '@android:drawable/fastscroll_track_pressed_holo_dark').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-sw600dp-v21\status_bar_search_panel.xml:5: error: Error: Resource is not public. (at 'glowRadius' with value '@android:dimen/preference_widget_width').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout\super_status_bar.xml:5: error: Error: Resource is not public. (at 'layout_height' with value '@android:dimen/config_viewMaxFlingVelocity').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-sw600dp\super_status_bar.xml:5: error: Error: Resource is not public. (at 'layout_height' with value '@android:dimen/config_viewMaxFlingVelocity').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\layout-sw600dp\super_status_bar.xml:6: error: Error: Resource is not public. (at 'layout_marginTop' with value '@android:dimen/config_viewMaxFlingVelocity').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\drawable\notification_row_legacy_bg.xml:4: error: Error: Resource is not public. (at 'drawable' with value '@android:drawable/stat_sys_r_signal_2_cdma').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\drawable\status_bar_item_background.xml:4: error: Error: Resource is not public. (at 'drawable' with value '@android:drawable/stat_sys_r_signal_1_cdma').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\drawable\status_bar_settings_slider_disabled.xml:4: error: Error: Resource is not public. (at 'drawable' with value '@android:drawable/perm_group_personal_info').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\drawable\status_bar_settings_slider_disabled.xml:6: error: Error: Resource is not public. (at 'drawable' with value '@android:drawable/perm_group_personal_info').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\drawable\status_bar_settings_slider_disabled.xml:9: error: Error: Resource is not public. (at 'drawable' with value '@android:drawable/perm_group_personal_info').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\drawable\status_bar_ticker_background.xml:2: error: Error: Resource is not public. (at 'src' with value '@android:drawable/indicator_input_error').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\drawable\status_bar_toggle_button.xml:4: error: Error: Resource is not public. (at 'drawable' with value '@android:drawable/perm_group_location').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\drawable\status_bar_toggle_button.xml:5: error: Error: Resource is not public. (at 'drawable' with value '@android:drawable/perm_group_personal_info').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\drawable\system_bar_ticker_background.xml:2: error: Error: Resource is not public. (at 'src' with value '@android:drawable/indicator_input_error').

C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res\drawable\ticker_background.xml:4: error: Error: Resource is not public. (at 'drawable' with value '@android:drawable/stat_sys_r_signal_1_cdma').

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\CARREF~1\AppData\Local\Temp\brut_util_Jar_6671936617059844552.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2, -F, C:\Users\CARREF~1\AppData\Local\Temp\APKTOOL989234683586470604.tmp, -0, arsc, -I, C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res, -M, C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]

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

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

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

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

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

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

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\CARREF~1\AppData\Local\Temp\brut_util_Jar_6671936617059844552.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2, -F, C:\Users\CARREF~1\AppData\Local\Temp\APKTOOL989234683586470604.tmp, -0, arsc, -I, C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res, -M, C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]

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

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

... 5 more

Caused by: brut.common.BrutException: could not exec command: [C:\Users\CARREF~1\AppData\Local\Temp\brut_util_Jar_6671936617059844552.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2, -F, C:\Users\CARREF~1\AppData\Local\Temp\APKTOOL989234683586470604.tmp, -0, arsc, -I, C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\res, -M, C:\Users\Carrefour\Desktop\soufian\gsm\Roms\0012 AceRom-H4G\0000 ApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]

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

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

... 6 more

------------------------------------------------------