Android M cannot run app using play button : Android Studio


If you are trying to run App on Android Studio with Target version as Android M 22+ Preview then you may notice that play (Build + run) button is disabled and you cant run your project on an emulator or any connected device. The reason seems to be the failure of the Gradle build process. Check that the Gradle distribution URL is the latest in gradle-wrapper.properties

Cannot run Android M app
Cannot run Android M app