The application was able to execute before updating my android studio,this is the error I am getting:
Error:Execution failed for task \':app:dexDebug\'. >
Just rebuilding project fixes the issue (Build->Rebuild Project). You can also clean project