I am using React native 0.52.0 and react-native-cli 2.0.1 on my Windows PC for android development. Despite all the changes i have made. When I run react-native run-an
react-native run-an
In my case, deleting below line in gradle.properties solved it.
org.gradle.configureondemand = true