Sunday, 15 September 2013

Add a library from Github to Android Studio 0.2.8

Add a library from Github to Android Studio 0.2.8

I am trying to add a library greenDAO from Github to an Android project
created in Android Studio. The content of latest build.gradle created are
as follow
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}
apply plugin: 'android'
repositories {
mavenCentral()
}
android {
compileSdkVersion 18
buildToolsVersion "18.0.0"
defaultConfig {
minSdkVersion 7
targetSdkVersion 16
}
}
dependencies {
compile 'com.android.support:appcompat-v7:18.0.0'
}
How to go about doing it?
Any pointer to latest blog on Gradle build system with added help.

No comments:

Post a Comment