Joined January 2016
·

Vishnu Teja

India
·
·

Posted to Tesseract with andoird and gradle over 1 year ago

Use this if you are using latest Android Studio.

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
}
}

apply plugin: 'android-library'

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
    minSdkVersion 15
    targetSdkVersion 21
}

sourceSets.main {
    manifest.srcFile 'AndroidManifest.xml'
    java.srcDirs = ['src']
    resources.srcDirs = ['src']
    res.srcDirs = ['res']
    jniLibs.srcDirs = ['libs']
}

}

It worked for me :)

Achievements
1 Karma
0 Total ProTip Views