Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio: Parameter 'directory' is not a directory

When I try to build my project, I get such a mistake:

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:dataBindingGenBaseClassesDebug'.
> Parameter 'directory' is not a directory
like image 631
kirvel Avatar asked Aug 12 '20 08:08

kirvel


1 Answers

From an answer to a similar question:

  1. Delete the .gradle directory (in the project base directory)
  2. Invalidate Caches and restart Android Studio (if necessary)

EDIT: Step 2 doesn't appear necessary on *nix systems

like image 140
Peter L Avatar answered Nov 14 '22 00:11

Peter L