Start a new topic

Android studio set-up

Android studio set-up

1 person has this problem

p { margin-bottom: 0.25cm; line-height: 120%; }

Hi. I'm new to Wikitude. I'm trying to get it on the last version of Android Studio and I'm stuck? I followed the instructions of wikitude's video ?Set-up Guide. Android Javascript API? and I get these error messages:

- on Gradle sync:


Error:(16, 0)

Gradle DSL method not found: 'android()'

Possible causes:

-The project 'SDKExamples' may be using a version of Gradle that does not contain the method.

-The build file may be missing a Gradle plugin.


- on Gradle build:

Error:(16, 1) A problem occurred evaluating root project 'SDKExamples'.

> Could not find method android() for arguments on root project 'SDKExamples'.


Could you please help me? I don't know what to do...

Hi Miguel,

what is the version number of your current Android Studio?

Do you use the default gradle wrapper or a local gradle distribution?

There was also a bug in Android Studio where it inserted "android { ... }" in the top level build.gradle, could you also check and remove it if this is the case?

Best Regards,


Login or Signup to post a comment