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



Recent Posts:




Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.