Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting `Error:Cannot get property ':lib' on null object` on a new Android Studio project

I've created a new project with Android Studio and added new lib project inside, but now I'm getting this:

Error:Cannot get property ':lib' on null object.

like image 860
ViliusK Avatar asked Oct 18 '14 15:10

ViliusK


1 Answers

Apparently I managed to solve it by adding comma in settings.gradle file.

Before I had:

include ':app' ':lib'

Changed to:

include ':app', ':lib'

Note, the comma!

Error messages could be better :)

like image 107
ViliusK Avatar answered Oct 05 '22 23:10

ViliusK