Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java.lang.NullPointerException: Project directory not specified

When building a project in Android Studio (build AI-130.729444), I keep getting this exception:

java.lang.NullPointerException: Project directory not specified: Project directory not specified

It starts happening out of nowhere, and editing the gradle files does not help.

like image 460
Ilya Kogan Avatar asked Jul 10 '13 06:07

Ilya Kogan


1 Answers

You may have only a partially checked-in project. In particular, if you have no .idea/gradle.xml file, this error will occur.

like image 143
Duane Moore Avatar answered Nov 08 '22 20:11

Duane Moore