저는 android를 처음 접하니 푸시 서비스 UrbanAirship
을 사용하고 싶습니다.
샘플 프로젝트를 다운로드하고 푸시 샘플 프로젝트를 테스트 한 결과 developmentAppKey
과 developmentAppSecret
이 MyApplication.java
으로 변경되었습니다. 앱이 정상적으로 시작되고 충돌없이 실행되지만 푸시 메시지를 보내려면 APID를 등록해야하며 어떻게해야할지 모르겠다.도시 비행선 - 푸시 샘플 => APID는 매번 null입니다.
또한 나는 다음과 같은 로그를 얻고 나는 APID가 널 안 생각 :
04-22 10:17:50.716: I/Push Sample - UALib(2843): My Application onCreate - App APID: null
나는이 오류를 얻을 : 나는이 같은 문제를 가지고 사람을 발견
04-22 11:58:49.763: E/Push Sample - UALib(916): com.google.android.c2dm.permission.RECEIVE is unknown to PackageManager. Note that an AVD emulator may not support GCM.
을, 하지만 그는 유용한 대답을 얻지 못했습니다 : https://support.urbanairship.com/customer/portal/questions/59269-android-pushsample-null-apid-missing-permission-that-is-really-there-
아무도 도와 줄 수 있습니까?
너는 남자 야. 마지막으로 잘 작동합니다 :-) – theMario
환영합니다! – Lukas
나는 도시 비행선을 처음 사용하고 있는데 pushsample [link] (https://github.com/urbanairship/android-samples/tree/master/PushSample) 예제 코드를 다운로드했다. 샘플 프로그램을 올바르게 작성하십시오. – Jamal