I was running android application very well then i updated Android Studio to 3.0 and Gradle version to latest 4.1. After Synch the project i got following build error
e.project.sync.GradleSyncState - Gradle sync failed: Exception thrown while executing model rule:
BaseComponentModelPlugin.Rules#createVariantData(ModelMap<AndroidBinaryInternal>, ModelMap<AndroidComponentSpec>, TaskManager) > afterEach()
I will be thankful for this quick favour.