[Android Software Development] flindaman:
I'm getting the brut errors as well. Trying to recompile the google app on Marshmallow to get homescreen rotation. I think it has to do with the sdk version.

I: Using Apktool 2.0.1
I: Smaling smali folder into classes.dex...
I: Building resources...
warning: string 'newvoiceapp_freq_contacts_header' has no default translation.
warning: string 'newvoiceapp_initial_prompt' has no default translation.
warning: string 'newvoiceapp_suggestion' has no default translation.
warning: string 'slow_connection_please_wait' has no default translation.
warning: string 'slow_connection_still_loading' has no default translation.
F:\android\com.google.android.googlequicksearchbox_5.4.24.19.arm-300522076_minAPI19(armeabi-v7a)(nodpi)\res\xml-v22\voice_interaction_service.xml:2: error: No resource identifier found for attribute 'supportsAssist' in package 'android'
F:\android\com.google.android.googlequicksearchbox_5.4.24.19.arm-300522076_minAPI19(armeabi-v7a)(nodpi)\res\xml-v22\voice_interaction_service.xml:2: error: No resource identifier found for attribute 'supportsLaunchVoiceAssistFromKeyguard' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\USER~1\AppData\Local\Temp\brut_util_Jar_5337346315982099119.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 23, --version-code, 300522076, --version-name, 5.4.24.19.arm, -F, C:\Users\USER~1\AppData\Local\Temp\APKTOOL7583472824203055351.tmp, -0, arsc, -I, C:\Users\usernamem\apktool\framework\1.apk, -S, F:\android\com.google.android.googlequicksearchbox_5.4.24.19.arm-300522076_minAPI19(armeabi-v7a)(nodpi)\res, -M, F:\android\com.google.android.googlequicksearchbox_5.4.24.19.arm-300522076_minAPI19(armeabi-v7a)(nodpi)\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:459)
at brut.androlib.Androlib.buildResources(Androlib.java:397)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:256)
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\USER~1\AppData\Local\Temp\brut_util_Jar_5337346315982099119.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 23, --version-code, 300522076, --version-name, 5.4.24.19.arm, -F, C:\Users\USER~1\AppData\Local\Temp\APKTOOL7583472824203055351.tmp, -0, arsc, -I, C:\Users\usernamem\apktool\framework\1.apk, -S, F:\android\com.google.android.googlequicksearchbox_5.4.24.19.arm-300522076_minAPI19(armeabi-v7a)(nodpi)\res, -M, F:\android\com.google.android.googlequicksearchbox_5.4.24.19.arm-300522076_minAPI19(armeabi-v7a)(nodpi)\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:445)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\USER~1\AppData\Local\Temp\brut_util_Jar_5337346315982099119.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 23, --version-code, 300522076, --version-name, 5.4.24.19.arm, -F, C:\Users\USER~1\AppData\Local\Temp\APKTOOL7583472824203055351.tmp, -0, arsc, -I, C:\Users\usernamem\apktool\framework\1.apk, -S, F:\android\com.google.android.googlequicksearchbox_5.4.24.19.arm-300522076_minAPI19(armeabi-v7a)(nodpi)\res, -M, F:\android\com.google.android.googlequicksearchbox_5.4.24.19.arm-300522076_minAPI19(armeabi-v7a)(nodpi)\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:413)
... 6 more
Process exited with code 1