You typically install the ".apk" file on the emulator or the device
and then locate the icon for your application and use that icon to
click on it to run.

If you are using eclipse, you can use eclipse to run the project
automatically on the emulator or the device. (Eclipse will compile and
make the .apk file, and loads it and also starts the application
automatically with out locating the icon).

The typical sequence of events are

1. Get your source code
2. Make a project in eclipse
3. Compile the project in eclipse (Eclispse is usually set to
auto-compile the project)
4. Create an emulator (AVD) that matches with the SDK API level that
is used to compile the project
5. Use eclipse to run that project on that specific AVD
6. You can also use the real device instead (But it can be a bit
involved in having the eclipse identify the device)


http://satyakomatineni.com/android/training
http://satyakomatineni.com
http://androidbook.com
http://twitter.com/SatyaKomatineni


On Fri, Aug 10, 2012 at 3:58 PM, James Spinella <jimmyco2...@gmail.com> wrote:
> Hey all,
>
> I'm brand new to Android development, well except for rooting, custom ROMs,
> etc. I'm going through Google's "lessons" in development, and I'm stuck at
> the part where it says to run my app that it just had me make... I've tried
> USB Debugging with my phone, as well as the emulator and whenever I try to
> run activity_main.xml, I get the aforementioned error.
>
> I have a feeling I am trying to run the wrong thing....is this what Google
> wants me to run as per
> http://developer.android.com/training/basics/firstapp/running-app.html ?
>
> It has to be the wrong thing, I followed directions to a tee....
>
> --
> 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

-- 
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

Reply via email to