[Android Software Development] *justintime*:
I am trying to modify my Framework-res from Xiaomi.

The following i do:

apktool if ./framework-res.apk

apktool if ./framework-ext-res.apk

apktool if ./miui.apk

apktool if ./ miuisystem.apk

Decompile

apktool d ./framework-res.apk and change a xml file.

But when i want to build i get this; Pulling my hair out... tried Apk multitool , easytool etc

PS. had too shorten the code due xda max. caracters

C:\APK>apktool b ./framework-res -o framework-res-new.apk
I: Using Apktool 2.3.4
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [C:\Users\JUSTIN~1\AppData\Local\Temp\brut_util_Jar_6918923942438517609.tmp, p, --forced-package-id, 1, --min-sdk-version, 28, --target-sdk-version, 28, --version-code, 28, --version-name, 9, --no-version-vectors, -F, C:\Users\JUSTIN~1\AppData\Local\Temp\APKTOOL763937957443790771.tmp, -x, -0, arsc, -0, png, -0, jpg, -0, res/drawable-hdpi-v4/dialog_middle_holo.9.png, -0, res/drawable-hdpi-v4/divider_strong_holo.9.png, -0, res/drawable-hdpi-v4/jog_tab_bar_left_end_confirm_gray.9.png, -0, res/drawable-hdpi-v4/jog_tab_bar_left_end_confirm_green.9.png, -0, res/drawable-hdpi-v4/jog_tab_bar_left_end_confirm_red.9.png, -0, res/drawable-hdpi-v4/jog_tab_bar_left_end_confirm_yellow.9.png, -0, res/drawable-hdpi-v4/jog_tab_bar_left_end_normal.9.png, -0, res/drawable-hdpi-v4/jog_tab_bar_left_end_pressed.9.png, -0, res/drawable-hdpi-v4/jog_tab_bar_right_end_confirm_gray.9.png, -0, res/drawable-hdpi-v4/jog_tab_bar_right_end_confirm_green.9.png, -0, res/drawable-hdpi-v4/jog_tab_bar_right_end_confirm_red.9.png, -0, res/drawable-hdpi-v4/jog_tab_bar_right_end_confirm_yellow.9.png, -0, res/drawable-hdpi-v4/jog_tab_bar_right_end_normal.9.png, -0, res/drawable-hdpi-v4/jog_tab_bar_right_end_pressed.9.png, -0, res/drawable-hdpi-v4/sim_dark_blue.9.png, -0, res/drawable-hdpi-v4/sim_dark_green.9.png, -0, res/drawable-hdpi-v4/sim_dark_orange.9.png, -0, res/drawable-hdpi-v4/sim_dark_purple.9.png, -0, res/drawable-hdpi-v4/sim_light_blue.9.png, -0, res/drawable-hdpi-v4/sim_light_green.9.png, -0, res/drawable-hdpi-v4/sim_light_orange.9.png, -0, res/drawable-hdpi-v4/sim_light_purple.9.png, -0, res/drawable-hdpi-v4/textfield_bg_activated_holo_dark.9.png, -0, res/drawable-hdpi-v4/textfield_bg_default_holo_dark.9.png, -0, res/drawable-hdpi-v4/textfield_bg_disabled_focused_holo_dark.9.png, -0, res/drawable-hdpi-v4/textfield_bg_disabled_holo_dark.9.png, -0, res/drawable-hdpi-v4/textfield_bg_focused_holo_dark.9.png, -0, res/drawable-hdpi-v4/textfield_longpress_holo.9.png, -0, res/drawable-hdpi-v4/textfield_pressed_holo.9.png, -0, res/drawable-land-hdpi-v4/jog_te-xxhdpi-v4/textfield_search_right_default_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/textfield_search_right_default_holo_light.9.png, -0, res/drawable-xxhdpi-v4/textfield_search_right_selected_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/textfield_search_right_selected_holo_light.9.png, -0, res/drawable-xxhdpi-v4/textfield_search_selected_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/textfield_search_selected_holo_light.9.png, -0, res/drawable-xxhdpi-v4/toast_frame.9.png, -0, res/drawable-xxhdpi-v4/transportcontrol_bg.9.png, -0, ogg, -0, frag, -0, vert, -0, csv, -0, html, -0, arsc, -S, C:\APK\.\framework-res\res, -M, C:\APK\.\framework-res\AndroidManifest.xml]