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\'. >
If you have support-v4 and support-v7 (with different version) in build.gradle then add this line into your build.gradle at top.
configurations { all*.exclude group: 'com.android.support', module: 'support-v4' }
Also read this