iT邦幫忙

2021 iThome 鐵人賽

DAY 13
0
Mobile Development

企劃實現系列 第 13

企劃實現(13)

  • 分享至 

  • twitterImage
  •  

GOOGLE登入
第一步:在firebase添加一個新的專案
https://ithelp.ithome.com.tw/upload/images/20210914/20129418UBQ9WXfJce.png
第二步:選取android專案
https://ithelp.ithome.com.tw/upload/images/20210914/20129418EVJapazINt.png
第三步:將專案名稱以及sha1代碼輸入
https://ithelp.ithome.com.tw/upload/images/20210914/20129418rB1HAV5OmN.png
第四步:到androidstudio點擊signingReport
https://ithelp.ithome.com.tw/upload/images/20210914/20129418v7BoFgM1Uj.png
第五步:下載檔案並放到APP底下
https://ithelp.ithome.com.tw/upload/images/20210914/201294181BHA8TD9vw.png
第六步:將以下代碼放到build.gradle底下
google()
classpath 'com.google.gms:google-services:4.3.10'
google() // Google's Maven repository
https://ithelp.ithome.com.tw/upload/images/20210914/20129418h1tqtBdXaT.png
第七步:將以下代碼放到build.gradle底下
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
implementation platform('com.google.firebase:firebase-bom:28.4.0')
implementation 'com.google.firebase:firebase-analytics'
https://ithelp.ithome.com.tw/upload/images/20210914/20129418CHNLhuJVEP.png
環境布置到這裡就結束了~~~


上一篇
企劃實現(12)
下一篇
企劃實現(14)
系列文
企劃實現30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言