Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle complains: "TaskSelectionException: Task 'generateDebugTestSources' not found in project"

Updating Android Studio from 1.1.0 to 1.2 RC0 broke my (previously flawlessly running) project. The error message is:

TaskSelectionException: Task 'generateDebugTestSources' not found in project ':libraries:android-simple-facebook:Simple Facebook'. Some candidates are: 'generateDebugResources'.

What does that mean? And how can it be fixed? Any advice is appreciated. Thank you.

like image 803
SePröbläm Avatar asked Apr 22 '15 13:04

SePröbläm


1 Answers

I got this error after I renamed the project.

Solution is: Press on the "Sync Project With Gradle Files" once. After this the error will be gone. enter image description here

like image 90
David A Avatar answered Oct 21 '22 09:10

David A