If you are trying to run the App on Android Studio with the Target version as Android M 22+ Preview then you may notice that the play (Build + run) button is disabled and you can't 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

This is not an AI-generated article but is demonstrated by a human.
Please support independent contributors like Code2care by donating a coffee.
Buy me a coffee!

Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!