I'm a newbie whose using a MAC OS X and I'd like to know how to run my android app on my android device. Currently, I'm using processing 2.0.1 and my android device is HTC wildfire. I've tried running it on my device, but it keeps saying "Lost connection with device while launching.Try again." Is there any way to fix this problem? because the problem keeps happening.
Another problem is that when I try running it in my emulator, a page pops up saying that "An error occurred while running android create avd" (bold) and the following message.
"The default Android emulator could not be set up. Make sure that the Android SDK is installed properly, and that the Android and Google APIs are installed for level 10. (Between you and me, this error is a red herring, and your sketch may be launching shortly."
And then, when I press the OK button at the bottom of this error page, the processing console tells me "Could not create a virtual device for the emulator" (highlighted in red. Words in white), though I've already added a new device, my HTC wildfire, to the android avd manager. I don't understand what the problem is here because when I installed my Android SDK, I installed everything that was not installed yet, including Android and Google APIs for level 10.
Please help me solve these two problems. Thank you very much.