xtensivearts - One Leap Ahead
Episode #2 – Create A New Project And Run It

Episode #2 – Create A New Project And Run It

Posted 07/16/2009 - 1:38 pm by Mathias Reisch

So here is the second episode in our Androidâ„¢ Development Video Tutorial Series. This time we will take a look at how to actually create a new project and run it within the Androidâ„¢ emulator tool. Also, we’ll take a look at how to modify the text output, that our application renders on screen.

The Tutorial

I apologize for the slightly bad audio quality. There was something wrong with the mic I used to record this screencast. Hopefully that won’t happen again in future screencasts. So anyway, enjoy this episode and if you have any comments or suggestions, feel free to leave a comment below.

Related posts:
  1. Episode #3 – Using Buttons
  2. Episode #8 – The Alert Dialog
  3. Episode #6 – Notification & Long Clicks
  4. Episode #1 – Getting Started!
  5. Episode #11 – Intents: Multi Activity Applications
  6. Episode #9 – Lists: Item Clicks
  7. Episode #10 – Intents: An Introduction
  8. Episode #7 – Using Basic Lists
  9. How to Solve Update Errors
  10. Episode #5 – Using Radio Buttons

Why Not Leave a Comment?

Name:*
E-Mail:*
Website:
Comment:*

Comments

PJFonseca

08/24/2009 – 8:34 pm

For same reason, when pressed start to run the Hello Android APP, the Eclipse gives this error:

[2009-08-24 19:30:41 - Hello Android] no classfiles specified
[2009-08-24 19:30:41 - Hello Android] Conversion to Dalvik format failed with error 1

But i searched in Google and the solution is:

1. Right-click on the individual project (in the Package Explorer) and select Properties.
2. In the properties, open the Android panel and select a “build target” to compile against. This SDK offers the Android 1.1 and Android 1.5 platforms to choose from. When you are initially updating your projects to the new SDK, we recommend that you select a build target with the Android 1.1 platform. Click Apply, then OK.

My to cents given.

Hugs from Portugal.

Mathias Reisch

08/24/2009 – 8:59 pm

@PJFonseca
You might also want to try right-clicking on the project name in the Package Explorer and choosing Refresh (F5). That should normally resolve the error.

Houda

04/27/2010 – 10:40 am

Thank you very much , i really appreciate it

Don Carroll

07/05/2010 – 11:27 pm

I’m really enjoying these tutorials. When I did the ‘hello world’ app, I get this error:

java.lang.NullPointerException

I can still work with the file, but I get the error after each letter is typed into the strings.xml file. I searched google for a solution, but it looks like it will take a while to find the problem.

Android Lover

07/29/2010 – 12:18 am

Hi..
I followed the instructions in the video.
However when i attempt to run the program, it throws an error with the following message:
“Your Project contains erris, please fix them before running your application”.

Do we have to install the android emulator seperately,
Can you help me with this….

Peppe L-G

07/30/2010 – 4:55 pm

@Don Carroll

That’s a problem I had to, but I googled on the whole text displayed in the alert (except the app name) and found a solution, so if you do this, you should found it too. If you post the text in the alert I can help you google for it, if you still not find it.

suraj

08/10/2010 – 10:14 am

Thank you so much helped me lot

joe

08/30/2010 – 8:04 am

Hi Mathias,

Helios is a bit buggy on windows 7.
I managed to get through install and get create Hello Android.
I created AVD for 2.1 and choosed Android 1.5 for the Hello Android project.
It runs. As I follow you in further episodes, should I create a AVD for 1.5?

Thank you,
Joe

Vio

11/14/2010 – 8:54 pm

Really nice tutorials,i also have an android book but your videos are helping alot……hope i will develop nice applications soon , thanks for these nice tutorials

John Smith

02/19/2011 – 7:11 pm

Great Site! Your tutorials are the best video tutorials out there.

Zuber

04/24/2011 – 2:22 am

Hello again, Great tutorial again, just a suggestion if you can zoom in more into videos that would help us.
Thank you

Hammad Khan

05/15/2011 – 3:45 pm

i am using sdk-2.3.3 , what screen should i use?