Here I gave you some trick that maybe you can try to recompile some apk like setting.apk or other.
Locate the apktool.yml in your decompile'd apk's and open with text editor like aide or other , next see the "ids:" . Below that you will find some number . It usualy - 1 , now add - 2 below that . It will look like this
Than save and recompile , done.
I already try that methode with other apk's and it work great . That's it hope it help you but if not and you still got some eror try to read the full log and find what you miss , I will not help you for that so try by your own
I'm using mtk 6582 running jb 4.2.2
Apktool 4.4.1 (aapt ver 1.5.2 / apktool 4.2)