[問題] 無法新增firebase-ui-database
gradle的內容
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.google.firebase:firebase-auth:16.0.1'
implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.google.android.gms:play-services-auth:15.0.1'
//firebse ui
implementation 'com.firebaseui:firebase-ui-auth:3.2.2'
//下面這一行一直會有錯誤
//implementation 'com.firebaseui:firebase-ui-database:3.2.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation
'com.android.support.test.espresso:espresso-core:3.0.2'
}
原本功能都正常,但因為要使用 FirebaseRecyclerOptions
所以需要implementation 'com.firebaseui:firebase-ui-database'
但一直出現錯誤
Unable to resolve dependency for ':app@debug/compileClasspath': Could not
resolve com.firebaseui:firebase-ui-database:3.2.2.
請問有前輩知道是什麼原因嗎? orz 萬分感謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.163.225.229
※ 文章網址: https://www.ptt.cc/bbs/AndroidDev/M.1528720809.A.6DE.html
→
06/12 16:43,
6年前
, 1F
06/12 16:43, 1F
→
06/12 16:44,
6年前
, 2F
06/12 16:44, 2F
AndroidDev 近期熱門文章
PTT數位生活區 即時熱門文章