Android Studio throws an error while building the project.
the error is :
Cause: error=86, Bad CPU type in executable.
Bad CPU type in executable --> Can not run command xxx/aapt
Finally I solved this by a little change.
goto the error module and changed the buildToolsVersion to anther(bigger version) in build.gradle file.
rebuild again, the error disappeared.