Sorry about that. I'm using Eclipse on Windows.
On May 9, 8:48 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> guysmily wrote:
> > Hello, I'm a brand new Android developer. I have it all running great
> > and was able to run Hello Android fine.
>
> > Nut I want to make changes to it, and they are not appearing. I edited
> > the main.xml file to change the welcome text, and I edited the .java
> > file to also change the text but for some reason it still shows the
> > original HelloAndroid.
>
> > How do I recompile it? What am I missing???
>
> > Thanks!
>
> You didn't indicate if you were using Eclipse, the command-line tools
> (e.g., ant), or something else to build your project.
>
> Assuming it's ant, with the emulator running, run "ant install" (minus
> the quotes), and that should recompile the application and, if there are
> no errors, install it on the emulator.
>
> Also, if you attempted to create your own HelloAndroid application,
> using the same Java package as the original, there seems to be
> an...issue with the emulator, that the launcher will not show the
> newly-installed application, though it will continue showing the
> original one. Effectively, it appears the emulator will only support one
> application per Java package (e.g., you can't have
> com.commonsware.android.FooActivity and
> com.commonsware.android.BarActivity in two separate applications show up
> in the launcher at the same time).
>
> If you think that might be affecting you, you have to manually remove
> the original (adb shell "rm /data/app/...", where ... is the name of the
> .apk file of the application to remove), then reinstall your new
> application. Or, just move to a different Java namespace, and there will
> be no collisions (e.g., com.commonsware.android.foo.FooActivity and
> com.commonsware.android.bar.BarActivity).
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> The Busy Coder's Guide to Android Development -- coming in June 2008!
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---