Android build failed "Cannot invoke method buildToolsVersion() on null object"


(Milos) #1

Hi,

i have problem with building android app on CentOS 7. When i start Gradle to build app, he show me

A problem occurred configuring project ‘:app’.

Cannot invoke method buildToolsVersion() on null object

i update Gradle and SDK to newest versions.

I looked on google for solution, but with no success. Sorry for my bad english.