Sunday, June 13, 2010

My Experience With My First Android App

So, I've been wanting to join this mobile app business and finally started to learn to develop my first helloworld android apps. At this point, I'm not fully there yet because I ran into problems using android SDK. But I'm almost there..

As with most mobile app, you need an emulator to test your android app. I'm still a little big vague about this keystore thing that android apps require. But I'm sure I'll figure out once I try to release my app. For now, I'm good with using emulator.

Originally, I was trying to develop the app with Eclipse by installing ADT plugin. I successfully downloaded it. However, as the tutorial stated, if I go to Eclipse-> Preference, Android should be there. But it wasn't. I tried researching it and some suggested that I needed Aptana plug-in. I installed it and it still didn't work. Meanwhile, the new plug-in(Aptana) was messing with my Eclipse configuration. Since I needed Eclipse to be in the current state(i.e. I don't want to re-install and re-configure for my project), I decided to give up on the idea of using an IDE for development. So, I've been using command line tools for the first app.

Another problem that I ran into was trying to install my app onto the emulator. The tutorial said I needed to use adb command. But, when I first used it, it gave me no device found error. I had the emulator running and even when I typed in adb devices command, it's showing me empty device list. It's not showing no device so it is detecting but not connecting to my emulator. After some search and a few commands tries, I had to kill adb server and restart it and it worked.

I'll continue my tests and tries and I'm really excited to see my first android app on the emulator.

No comments:

Post a Comment