[Q] Apktool can't build latest Hangouts 2.0.303

I have been having some issues trying to mod Hangouts, I always start by decoding, then rebuilding, to test. Now I've tried several different versions of apktool and aapt, I've tried the Hangouts.apk from my phone as well as the one linked here: and I always get the same errors, this is what happens when I try to build:

Code:
I: Checking whether sources has changed... I: Smaling... I: Checking whether resources has changed... I: Building resources... /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res/values-tr/plurals.xml:119: error: Apostrophe not preceded by \ (in %1$d Hangout'ta %2$d ileti) aapt: warning: string 'accounts_title' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'add_account' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'browser_signup_message' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'download_plus_app_button' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'friend_and_other_plus_ones' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'install_plus_app_message' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'more_plus_ones' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'no_plus_ones' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'one_plus_one' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'plus_one_button_error' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'plus_one_button_needs_permission' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'plus_one_offline_error' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'self_plus_one' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'self_plus_one_removed' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'self_plus_one_with_name' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'sign_up_for_plus_button' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'sign_up_for_plus_message' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'sign_up_prompt_title' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'web_signup_progress' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'webview_signup_error_message' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu aapt: warning: string 'webview_signup_message' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 18, -F, /tmp/APKTOOL4538723641925179512.tmp, -0, arsc, -I, apktool/framework/1.apk, -S, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res, -M, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/AndroidManifest.xml] at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353) at brut.androlib.Androlib.buildResources(Androlib.java:281) at brut.androlib.Androlib.build(Androlib.java:209) at brut.androlib.Androlib.build(Androlib.java:177) at brut.apktool.Main.cmdBuild(Main.java:237) at brut.apktool.Main.main(Main.java:79) Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 18, -F, /tmp/APKTOOL4538723641925179512.tmp, -0, arsc, -I, apktool/framework/1.apk, -S, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res, -M, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:406) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334) ... 5 more Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 18, -F, /tmp/APKTOOL4538723641925179512.tmp, -0, arsc, -I, apktool/framework/1.apk, -S, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res, -M, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/AndroidManifest.xml] at brut.util.OS.exec(OS.java:89) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:404) ... 6 more

Now the "Apostrophe not preceded by \ (in %1$d Hangout'ta %2$d ileti)" error is easy to fix, but it still fails with the rest of the errors.

Has anyone been able to get the latest Hangouts to decode and rebuild with apktool? And if so what version of apktool and aapt did you use?

And remember, I didn't edit anything, this was just a "decode and rebuild" test before I actually start modding.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by mollie06
1 hour ago
Last post by ikub
1 hour ago
Last post by mkautzer
4 hours ago
Last post by noconner
36 minutes ago
Last post by trudie.ondricka
48 minutes ago
Last post by larson.kaleigh
32 minutes ago
Last post by letha81
2 hours ago
Last post by christ53
4 hours ago
Last post by langworth.irving
1 hour ago
Request
Started by emie55
Last post by alockman
3 hours ago
Last post by cemard
2 hours ago
Last post by gmurphy
4 hours ago