LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (https://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   Emulator woes - emulator: ../../src/xcb_io.c:249: process_responses: Assertion (https://www.linuxquestions.org/questions/linux-mobile-81/emulator-woes-emulator-src-xcb_io-c-249-process_responses-assertion-871859/)

GunNam 03-30-2011 02:18 AM

Emulator woes - emulator: ../../src/xcb_io.c:249: process_responses: Assertion
 
I'm trying to get my Hello, World application running in Android/Eclipse but running into the following issue. Anyone know what this is?

I have been able to successfully run the HelloAndroid application exactly twice over like 12 hours. On the rare occasion that it ran successfully, when I moved the mouse pointer over the emulator window, the window immediately closed and I received the following error:

[2011-03-29 23:01:01 - Emulator] emulator: ../../src/xcb_io.c:249: process_responses: Assertion `(((long) (dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed

Any help would be appreciated.

GunNam 03-30-2011 03:55 PM

I changed permissions for ddms: chmod +x ddms but then my emulator window would not display at all.

Then I killed the "emulator" in the System Monitor (Ubuntu) , then ran HelloAndroid again and it works!!

I don't know why I have to kill the emulator first to get it to run, but at this point, it's something I'm willing to live with. Hope this helps anyone having the same problem.


All times are GMT -5. The time now is 08:35 PM.