标签:
问题大致出在库工程 library/build.gradle 文件中的 apply from这句
apply plugin: ‘com.android.library‘ android { compileSdkVersion 17 buildToolsVersion "19.1.0" defaultConfig { minSdkVersion 7 targetSdkVersion 17 versionCode 1 versionName "1.0" } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile(‘proguard-android.txt‘), ‘proguard-rules.pro‘ } } } dependencies { compile ‘com.android.support:support-v4:20.0.0‘ compile fileTree(dir: ‘libs‘, include: [‘*.jar‘]) } apply from: ‘https://raw.github.com/twotoasters/gradle-mvn-push/master/gradle-mvn-push.gradle‘
或者如
apply from: ‘gradle-mvn-push.gradle‘
删掉这行即可
标签:
原文地址:http://www.cnblogs.com/uinique/p/4685384.html