dialogflow-android-client icon indicating copy to clipboard operation
dialogflow-android-client copied to clipboard

Gradle problem

Open fabioebner opened this issue 8 years ago • 0 comments

I download the Android Studio 2.3.3, create a blank project

try o add the dependencies

compile 'ai.api:sdk:2.0.7@aar'
// api.ai SDK dependencies
compile 'com.android.support:appcompat-v7:23.2.1'

but only to do this I got the error:

Error:(9, 0) Gradle DSL method not found: 'compile()' Possible causes:

  • The project 'ChefBot' may be using a version of the Android Gradle plug-in that does not contain the method (e.g. 'testCompile' was added in 1.1.0). Upgrade plugin to version 2.3.3 and sync project
  • The project 'ChefBot' may be using a version of Gradle that does not contain the method. Open Gradle wrapper file
  • The build file may be missing a Gradle plugin. Apply Gradle plugin

fabioebner avatar Aug 20 '17 15:08 fabioebner