apply plugin: 'com.android.library' android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { minSdkVersion 14 targetSdkVersion 25 versionCode 1 versionName "1.0" } buildTypes { release { } } // It would be better to fix the issues lintOptions { abortOnError false } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) }