All was fine until i updated the android studio to Canary 6, When i rebuild or clean or whatever with project it\'s throw :
A failure occurred while exec
There is a lot problems with android studio canary 6, the best way to solve that is to change your class path in the dependencies in your gradle to
classpath 'com.android.tools.build:gradle:2.3.3'