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.
You may have only a partially checked-in project. In particular, if you have no .idea/gradle.xml file, this error will occur.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With