Sunday, September 23, 2012

[android-developers] Eclipse setup question

So, I'm just trying to get started learning Android development.  I wanted to start with something simple, so I'm trying out the "My First App" tutorial app that comes with the Eclipse plugin.  I seem to be running into a couple of hurdles. I posted on Stack Overflow, but only got a couple minimal responses, so I'm coming here to see if anyone can provide more info.

Basically, my setup is Ubuntu 12.10 (amd64) box with Eclipse 3.8.  I have two connected devices (Galaxy Nexus & Nexus 7) which are both seen by adb (after some udev massaging).  I also have a 4.1 AVD setup, I know this works since I've started it up and let it run a few times.

So, my questions are as follows:

1 - The "My First App" doesn't seem to have come with a build.xml file.  I don't know if this is affecting the Run button configuration or not, but I can't even get the manual build/push to device working as outlined in the instructions (eg ant debug; adb install).  Can someone tell me how to create this file?

2 - How do I configure the Run button in Eclipse to run the app either on one of my devices or on a configured AVD?  I tried looking through the Run configuration settings, but all of the tutorials I've seen out there are for older versions of Eclipse that don't seem to have the same menu layout.  In the couple replies I got on Stack Overflow, they mention "Run" -> "Run Configurations", but I don't seem to have that option in my version (see image).


I tried flipping through the "External Tools Configurations..." which is a setup dialog, but that doesn't seem to be right either.

Any suggestions would be much appreciated.  Thanks!

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate