大佬教程收集整理的这篇文章主要介绍了错误:无法找到方法’com.android.build.gradle.api.BaseVariant.getOutputs()Ljava / util / List; Android工作室3,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
这是我的文件build.gradle
apply plugin: 'com.android.application' android { compileSdkVersion 26 buildToolsVersion "26.0.2" defaultConfig { applicationId "com.minh.findtheshipper" minSdkVersion 21 targetSdkVersion 26 versionCode 1 versionName "1.0" ext.kotlin_version = '1.1.2-4' testinstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" manifestPlaceholders = [onesignal_app_id: "c435c556-1f73-4ac6-9c50-11d2c08e803c",// Project number pulled from dashboard,local value is ignored. onesignal_google_project_number: "REMOTE"] } configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails details -> def requested = details.requested if (requested.group == 'com.android.support') { if (!requested.name.startsWith("multidex")) { detailS.UseVersion '26.0.2' } } } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs',include: ['*.jar']) androidTESTCompile('com.android.support.test.espresso:espresso-core:2.2.2',{ exclude group: 'com.android.support',module: 'support-Annotations' }) compile('com.mikepenz:materialdrawer:5.9.2@aar') { transitive = true } compile 'com.android.support:appcompat-v7:26.1.0' compile 'com.android.support.consTraint:consTraint-layout:1.0.2' compile 'com.jakewharton:butterknife:8.6.0' compile 'com.mikepenz:google-material-typeface:3.0.1.0.original@aar' compile 'com.mikepenz:fontawesome-typeface:4.7.0.0@aar' compile 'com.facebook.android:facebook-android-sdk:4.27.0' compile 'com.sdsmdg.tastytoast:tastytoast:0.1.1' compile 'com.squareup.piCasso:piCasso:2.5.2' compile 'com.github.bumptech.glide:glide:4.0.0' compile 'com.google.android.gms:play-services-maps:11.4.2' compile 'com.google.maps.android:android-maps-utils:0.5' compile 'com.google.android.gms:play-services-LOCATIOn:11.4.2' compile 'com.google.android.gms:play-services-places:11.4.2' compile 'cn.pedant.sweetalert:library:1.3' compile 'com.mikepenz:actionitembadge:3.3.1@aar' compile 'com.android.support:cardview-v7:26.1.0' compile 'com.android.support:support-v4:26.1.0' compile 'com.google.firebase:firebase-core:11.4.2' compile 'com.google.firebase:firebase-database:11.4.2' compile 'com.google.firebase:firebase-messaging:11.4.2' compile 'com.github.markushi:circlebutton:1.1' compile 'com.onesignal:Onesignal:3.6.5' compile 'com.kofigyan.stateprogressbar:stateprogressbar:0.0.6' compile 'com.squareup.okhttp3:okhttp:3.9.0' TESTCompile 'junit:junit:4.12' AnnotationProcessor 'com.github.bumptech.glide:compiler:4.0.0-RC1' AnnotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0' } apply plugin: 'com.jakewharton.butterknife' apply plugin: 'realm-android' apply plugin: 'com.google.gms.google-services'
以上是大佬教程为你收集整理的错误:无法找到方法’com.android.build.gradle.api.BaseVariant.getOutputs()Ljava / util / List; Android工作室3全部内容,希望文章能够帮你解决错误:无法找到方法’com.android.build.gradle.api.BaseVariant.getOutputs()Ljava / util / List; Android工作室3所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。