第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

找不到參數(shù)的方法 implementation()

找不到參數(shù)的方法 implementation()

慕尼黑8549860 2021-09-15 11:02:01
我已經(jīng)為此抗?fàn)幜艘欢螘r(shí)間,并嘗試使用實(shí)現(xiàn)和編譯,并遵循了無(wú)數(shù) stackover 流和其他論壇帖子中的建議:根級(jí) build.gradle:buildscript {    repositories {        google()        jcenter()        maven {            url "https://maven.google.com"        }    }    dependencies {        classpath 'com.android.tools.build:gradle:3.1.3'        classpath 'com.google.gms:google-services:4.0.2'    }}    allprojects {    repositories {        google()        jcenter()        maven {            url "https://maven.google.com"        }}..........    //This replaces project.properties w.r.t. build settingsproject.ext {  defaultBuildToolsVersion="25.0.2" //String  defaultMinSdkVersion=19 //Integer - Minimum requirement is Android 4.4  defaultTargetSdkVersion=28 //Integer - We ALWAYS target the latest by default  defaultCompileSdkVersion=28 //Integer - We ALWAYS compile with the latest by default}App build.gradle(我已編輯為包含整個(gè)應(yīng)用程序 gradle 文件,而不是我認(rèn)為只是包含此錯(cuò)誤的部分。gradle-wrapper.properties:distributionBase=GRADLE_USER_HOMEdistributionPath=wrapper/distszipStoreBase=GRADLE_USER_HOMEzipStorePath=wrapper/distsdistributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip我正在執(zhí)行 ./gradlew build
查看完整描述

1 回答

?
慕妹3146593

TA貢獻(xiàn)1820條經(jīng)驗(yàn) 獲得超9個(gè)贊

您應(yīng)該從 buildscript 依賴(lài)項(xiàng)中取出 firebase-core 依賴(lài)項(xiàng)并將其放入您的應(yīng)用程序級(jí)依賴(lài)項(xiàng)中:


dependencies {

    implementation fileTree(dir: 'libs', include: '*.jar')

    // SUB-PROJECT DEPENDENCIES START

    implementation(project(path: ":CordovaLib"))

    // SUB-PROJECT DEPENDENCIES END


    // put Firebase dependencies here to compile them into your app

    implementation 'com.google.firebase:firebase-core:16.0.1'

}


查看完整回答
反對(duì) 回復(fù) 2021-09-15
  • 1 回答
  • 0 關(guān)注
  • 314 瀏覽
慕課專(zhuān)欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢(xún)優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)