Could not find method android() for arguments

I’ve been trying to import a project to Android Studio and this is where I am stuck, there is a similar question on Stack Overflow but it did not provide a solution to my particular error. This is my error log: The Gradle sync messages are: Error:(24, 0) Gradle DSL method not found: ‘android()’ Possible … Read more