[Android Themes] Monsieur_Bond:
I want to use latest SwiftKey (version 6.4.8.48) from Google Play with custom set of themes...

Earlier I used to: (The process mentioned in OP)

De-compile the apk using apktool (apk downloaded from Google Play)

Add custom themes

Recompile

Sign using apk-signer

Transfer apk to mobile from Computer

Install

But the same process is not working anymore...

Every-time I recompile the latest apk I get following error:

C:\apktool>apktool d -s "SwiftKey Keyboard_6.4.8.48_Play.apk"
I: Using Apktool 2.2.1 on SwiftKey Keyboard_6.4.8.48_Play.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying raw classes.dex file...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

C:\apktool>apktool b "SwiftKey Keyboard_6.4.8.48_Play"
I: Using Apktool 2.2.1
I: Copying SwiftKey Keyboard_6.4.8.48_Play classes.dex file...
I: Checking whether resources has changed...
I: Building resources...
W: warning: string 'clipboard_no_clips_title_long' has no default translation.
W: warning: string 'incognito_coachmark_stop_learning' has no default translation.
W: warning: string 'menu_langs_delete' has no default translation.
W: warning: string 'pref_lang_download_summary' has no default translation.
W: warning: string 'pref_langs_available' has no default translation.
W: warning: string 'pref_langs_downloaded' has no default translation.
W: warning: string 'pref_langs_updated' has no default translation.
W: C:\apktool\SwiftKey Keyboard_6.4.8.48_Play\res\drawable-v22\swiftmoji_theme_swatch.xml:5: error: No resource identifier found for attribute 'start' in package 'android
'
W:
W: C:\apktool\SwiftKey Keyboard_6.4.8.48_Play\res\drawable-v22\swiftmoji_theme_swatch.xml:5: error: No resource identifier found for attribute 'end' 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\AppData\Local\Temp\brut_util_Jar_1294412246953192401.tmp, p, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 19, --version-code, 814220034, --vers
ion-name, 6.4.8.48, -F, C:\Users\AppData\Local\Temp\APKTOOL1509536099326972676.tmp, -0, arsc, -0, zip, -0, json, -0, arsc, -I, C:\Users\AppData\Local\ap
ktool\framework\1.apk, -S, C:\apktool\SwiftKey Keyboard_6.4.8.48_Play\res, -M, C:\apktool\SwiftKey Keyboard_6.4.8.48_Play\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:478)
at brut.androlib.Androlib.buildResources(Androlib.java:412)
at brut.androlib.Androlib.build(Androlib.java:311)
at brut.androlib.Androlib.build(Androlib.java:264)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\AppData\Local\Temp\brut_util_Jar_129441224695319
2401.tmp, p, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 19, --version-code, 814220034, --version-name, 6.4.8.48, -F, C:\Users\AppData
\Local\Temp\APKTOOL1509536099326972676.tmp, -0, arsc, -0, zip, -0, json, -0, arsc, -I, C:\Users\AppData\Local\apktool\framework\1.apk, -S, C:\apktool\SwiftKey Ke
yboard_6.4.8.48_Play\res, -M, C:\apktool\SwiftKey Keyboard_6.4.8.48_Play\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:439)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:464)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\AppData\Local\Temp\brut_util_Jar_1294412246953192401.tmp, p, --forced-package-id,
127, --min-sdk-version, 15, --target-sdk-version, 19, --version-code, 814220034, --version-name, 6.4.8.48, -F, C:\Users\AppData\Local\Temp\APKTOOL15095360993269
72676.tmp, -0, arsc, -0, zip, -0, json, -0, arsc, -I, C:\Users\AppData\Local\apktool\framework\1.apk, -S, C:\apktool\SwiftKey Keyboard_6.4.8.48_Play\res, -M, C:\
apktool\SwiftKey Keyboard_6.4.8.48_Play\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:433)
... 6 more

C:\apktool>

Even if I am not making any changes, just de-compiling and recompiling

This is happening only with latest version, if I am doing the modification with older version (version 5.4.0.66) everything goes fine...

Any help in this regard or any other idea/process to add custom themes to latest SwiftKey version (version 6.4.8.48)?

[MENTION=2126467]djdarkknight96[/MENTION]

[MENTION=6312707]Pwnycorn[/MENTION]

Device is running on android 5.1, rooted, stock ROM

apktool version 2.2.1, Windows 8.1