[Android Software/Hacking General [Developers Only]] chuppito:
Hello, I have a problem compiling.

I can decompile waze, but when I want to compile it, it marks me failed.

I tried with several versions of apktool.jar but also without changing anything after decompiling.

How can I fix this? Thank you

Log error :

Compiling APK file...

SmaliDebugging has been removed in 2.1.0 onward. Please see: https://github.com/iBotPeaches/Apktool/issues/1061
I: Using Apktool 2.3.1
I: Smaling smali folder into classes.dex...
I: Smaling smali_classes2 folder into classes2.dex...
I: Building resources...
W: warning: string 'searchHint' has no default translation.
W: warning: string 'termsOfUseChinese' has no default translation.
W: warning: string 'widget_nodata_info3' has no default translation.
W: C:\Users\Christine\Documents\APK Easy Tool\1-Decompiled APKs\com.waze_4.41.0.0-1021506\res\layout-v26\abc_screen_toolbar.xml:5: error: No resource identifier found for attribute 'keyboardNavigationCluster' in package 'android'
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\CHRIST~1\AppData\Local\Temp\brut_util_Jar_12405838111539336814.tmp, p, --debug-mode, --min-sdk-version, 16, --target-sdk-version, 23, --version-code, 1021506, --version-name, 4.41.0.0, --no-version-vectors, -F, C:\Users\CHRIST~1\AppData\Local\Temp\APKTOOL3829012853566020765.tmp, -0, arsc, -0, assets/res/preferences, -0, jav, -0, arsc, -I, C:\Users\Christine\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Christine\Documents\APK Easy Tool\1-Decompiled APKs\com.waze_4.41.0.0-1021506\res, -M, C:\Users\Christine\Documents\APK Easy Tool\1-Decompiled APKs\com.waze_4.41.0.0-1021506\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:492)
at brut.androlib.Androlib.buildResources(Androlib.java:426)
at brut.androlib.Androlib.build(Androlib.java:305)
at brut.androlib.Androlib.build(Androlib.java:270)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:75)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\CHRIST~1\AppData\Local\Temp\brut_util_Jar_12405838111539336814.tmp, p, --debug-mode, --min-sdk-version, 16, --target-sdk-version, 23, --version-code, 1021506, --version-name, 4.41.0.0, --no-version-vectors, -F, C:\Users\CHRIST~1\AppData\Local\Temp\APKTOOL3829012853566020765.tmp, -0, arsc, -0, assets/res/preferences, -0, jav, -0, arsc, -I, C:\Users\Christine\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Christine\Documents\APK Easy Tool\1-Decompiled APKs\com.waze_4.41.0.0-1021506\res, -M, C:\Users\Christine\Documents\APK Easy Tool\1-Decompiled APKs\com.waze_4.41.0.0-1021506\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:456)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:478)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\CHRIST~1\AppData\Local\Temp\brut_util_Jar_12405838111539336814.tmp, p, --debug-mode, --min-sdk-version, 16, --target-sdk-version, 23, --version-code, 1021506, --version-name, 4.41.0.0, --no-version-vectors, -F, C:\Users\CHRIST~1\AppData\Local\Temp\APKTOOL3829012853566020765.tmp, -0, arsc, -0, assets/res/preferences, -0, jav, -0, arsc, -I, C:\Users\Christine\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Christine\Documents\APK Easy Tool\1-Decompiled APKs\com.waze_4.41.0.0-1021506\res, -M, C:\Users\Christine\Documents\APK Easy Tool\1-Decompiled APKs\com.waze_4.41.0.0-1021506\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:450)
... 6 more