[問題] GoogleCloudMessage 無法註冊ID
參考9/9 和gcm有關,最新在youtube釋出的影片
網址如下:
https://www.youtube.com/watch?v=Vd8bIkE29U4
一步一步照著做...
可是在 get registration ID時候 一直無法獲得
模擬器跑出來的畫面是:
Error:SERVICE_NOT_AVAILABLE
lodcat的訊息(按鍵後跑出的訊息有):
09-17 08:47:22.199: W/ActivityManager(92): Unable to start service Intent {
act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms (has
extras) }: not found
09-17 08:47:27.499: E/ActivityThread(160): Failed to find provider info for
com.android.inputmethod.latin.dictionarypack
09-17 08:47:27.499: E/BinaryDictionaryGetter(160): Could not find a dictionary
pack
試過了3種gcm教學影片,還有google過unable to start service那一行debug的方法
都沒辦法=.=
都是跑出unable to start...那行訊息
請教版上的高手們@@
到底該如何解決呢?(模擬器有用google apis 開)
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.134.48.253
※ 文章網址: http://www.ptt.cc/bbs/AndroidDev/M.1410944128.A.B1E.html
推
09/17 19:16, , 1F
09/17 19:16, 1F
→
09/17 19:17, , 2F
09/17 19:17, 2F
已解決
原來的google play service 檔案可能有問題 重裝後可以執行
※ 編輯: chieya (140.134.48.253), 09/18/2014 11:08:11