1

I'm making an app which gathers public data from a blog. I infered I should use the blogger api. I downloaded it from here . Since I have never used 3rd party libraries in android I don't know how to actually use it in the app. How do I do that?

I am using Android Studio.

Detailed step-wise instructions appreciated :)

Vishal Yadav
  • 3,642
  • 3
  • 25
  • 42
ParmuTownley
  • 957
  • 2
  • 14
  • 34

1 Answers1

1

The link you posted contains the instructions to use the library via Gradle, eg (in your ´build.gradle´):

repositories {
  mavenCentral()
}

dependencies {
  compile 'com.google.apis:google-api-services-blogger:v3-rev55-1.23.0'
}
webo80
  • 3,365
  • 5
  • 35
  • 52
  • I tried it. Im getting: Error:(30, 0) Gradle DSL method not found: 'compile()' Possible causes: – ParmuTownley Oct 17 '17 at 08:33
  • @ParamdeepSinghObheroi Please, update your question with your (presumably two) build.gradle files, so we can see what's happening, but it appears that you aren't using the last Gradle plugi version on your project – webo80 Oct 17 '17 at 08:47