Problem in running c2dm Android app in emulator

38 views
Skip to first unread message

CP

unread,
May 24, 2012, 1:54:07 AM5/24/12
to android-c2dm
Hi,
I am new to android application, and I am making POC for C2DM, Push
notification for android device.

1- I already register to http://code.google.com/android/c2dm/signup.html
with necessary information
2- I made the server- Which suppose to send Push notification
3- I made the client( Android App)

I think, I written right code

In Eclipse, I configured Android SDK version 4.0 and in Manifest I
mentioned <uses-sdk android:minSdkVersion="14" />

My Problem:
When I run Android project using eclipse,Emulator open up but my app
does not comes in emulator, even I tried to see my app in that I can
not fiend, (while if I make simple hello world application then
emulator show hello world app)

During run c2dm Project I get this message in console

[2012-05-24 13:37:34 - MyPushNotificationAppActivity] New emulator
found: emulator-5554
[2012-05-24 13:37:34 - MyPushNotificationAppActivity] Waiting for HOME
('android.process.acore') to be launched...
[2012-05-24 13:38:18 - MyPushNotificationAppActivity] HOME is up on
device 'emulator-5554'
[2012-05-24 13:38:18 - MyPushNotificationAppActivity] Uploading
MyPushNotificationAppActivity.apk onto device 'emulator-5554'
[2012-05-24 13:38:19 - MyPushNotificationAppActivity] Installing
MyPushNotificationAppActivity.apk...
[2012-05-24 13:38:53 - MyPushNotificationAppActivity] Success!
[2012-05-24 13:38:53 - MyPushNotificationAppActivity] Failed to
install MyPushNotificationAppActivity.apk on device 'emulator-5554':
device not found
[2012-05-24 13:38:53 - MyPushNotificationAppActivity]
com.android.ddmlib.InstallException: device not found
[2012-05-24 13:38:53 - MyPushNotificationAppActivity] Launch canceled!


Log cat is here https://docs.google.com/document/d/1IuGK4ldjRsLVln7D15CRx6nUkNgRa3Hyv-AS3nIh30U/edit


CP

unread,
May 24, 2012, 2:33:51 AM5/24/12
to android-c2dm
If any one eager to help on this please pass id I will refer code zip
of app.

Thanks in advance!

On May 24, 1:54 pm, CP <cpi...@gmail.com> wrote:
> Hi,
>  I am new to android application, and I am making POC for C2DM, Push
> notification for android device.
>
> 1- I already register tohttp://code.google.com/android/c2dm/signup.html
> Log cat is herehttps://docs.google.com/document/d/1IuGK4ldjRsLVln7D15CRx6nUkNgRa3Hyv...

Swati Pisal

unread,
May 24, 2012, 2:42:31 AM5/24/12
to androi...@googlegroups.com
Hello,

Can you send me zip code you create in android, and server side code also
--
Thanks & Regards,
Swati Pisal,



Reply all
Reply to author
Forward
0 new messages