1 回答
TA貢獻(xiàn)1765條經(jīng)驗(yàn) 獲得超5個(gè)贊
嘗試將 firebase 依賴項(xiàng)從降級(jí)17.0.0為16.0.7
這是我目前正在使用的版本并且可以正常工作。
對(duì) firebase 版本要非常小心。如果您設(shè)置了錯(cuò)誤的版本,有些依賴項(xiàng)會(huì)使您的項(xiàng)目崩潰。
這是我使用的一些穩(wěn)定依賴項(xiàng)的列表:
implementation 'com.google.firebase:firebase-core:16.0.7'
implementation 'com.google.firebase:firebase-messaging:17.4.0'
implementation 'com.google.firebase:firebase-auth:16.1.0'
implementation 'com.google.firebase:firebase-firestore:18.1.0'
implementation 'com.google.firebase:firebase-functions:16.3.0'
implementation 'com.google.firebase:firebase-perf:16.2.3'
implementation 'com.google.firebase:firebase-config:16.3.0'
implementation 'com.google.firebase:firebase-database:16.1.0'
添加回答
舉報(bào)
