티스토리 뷰


[Android] Unable to start service Intent { act=com.google.android.c2dm.intent.REGISTER (has extras) }: not found


안드로이드에서 C2DM 푸시 알림을 이용하는데 다음과 같은 에러가 일어나면 다음 3가지에 유의해야한다.


  • 실제 안드로이드 장치에 올릴때에는 안드로이드 2.2 버전 이상이어야한다. (에뮬레이터 포함)
  • Market 어플리케이션이 인스톨 되어있어야한다. (실제 장치만 해당, 에뮬레이터는 없어도 된다.)
  • 해당 장치에 구글 계정을 연동해야한다. (Settings / Accounts & Sync / Google..)

: 참고

--It requires devices running Android 2.2 or higher that also have the Market application installed. However, you are not limited to deploying your applications through Market. 

--It uses an existing connection for Google services. This requires users to set up their Google account on their mobile devices.



* 에뮬레이터 상에서 구글 계정 설정하는 방법은 아래 링크를 참고

[안드로이드] 에뮬레이터에 구글 계정 등록하기




* 만약 위 처럼 com.google.android.c2dm.intent.REGISTER 가 아니라 com.google.android.c2dm.intent.REGISTRATION 이라면 AndroidManifest.xml에 오타를 찾아보고 주의하자.


끝.

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함