Sunday, May 24, 2015

Android Studio build fails with “Task '' not found in root project 'android-UniversalMusicPlayer-master'.”

I was playing with UniversalMusicPlayer sample from https://github.com/googlesamples/android-UniversalMusicPlayer and faced with the following error:

Task '' not found in root project 'android-UniversalMusicPlayer-master'
The following fixed the stuff for me:


  1. Kill ~/.graddle folder (C:\Users\\.graddle)
  2. I have launched gradlew.bat from the root folder. Script did some tricks and now it works for me. 
Post a Comment