I am trying to run a simple PhoneGap demo program in the Android simulator on a Mac. The code builds fine but when the emulator is running I get a message in the console window of Eclipse saying:
...Failed to install HelloPhoneGap.apk on device 'emulator-5556! ...(null) ...Failed to install HelloPhoneGap.apk on device 'emulator-5556!: Connection reset by peer ...com.android.ddmlib.InstallException: Connection reset by peer ...Launch canceled! The emulator though comes up and I can run my app which puts up 3 buttons. When I touch (click) on a button it should use PhoneGap to display a web page but nothing happens and I don't see the console log message showing the onDeviceReady() function got called which is not surprising given the above error messages. I am running sample code I downloaded and I got the nearly identical code working in the iOS version. Not sure if this is at all related but I cannot update the sdk. I get connection refusal errors when trying to update the sdk. At least on the Mac I got the sdk initially installed using the archive method. I tried installing it on Windows 7 and cannot get it installed at all. Seems that is a problem a lot of people are having. Running as Administrator, disabling the virus checking, etc, are not helping. Any ideas what the emulator errors and what I can do about them to get this to run? Thanks! Bob -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en