Tuesday, April 26, 2011

[android-developers] Have to clean build to get app to install on phone

I change some code from eclipse and save it. I do 'run as android app'
and see this in the console:

[2011-04-26 13:15:33 - ExpoSmart] Application already deployed. No need
to reinstall.
[2011-04-26 13:15:33 - ExpoSmart] Starting activity
com.rcsreg.exposmart.ExpoSmart on device HT07AHL16616
[2011-04-26 13:15:33 - ExpoSmart] ActivityManager: Starting: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
cmp=com.rcsreg.exposmart/.ExpoSmart }
[2011-04-26 13:15:33 - ExpoSmart] ActivityManager: Warning: Activity not
started, its current task has been brought to the front

And the app just comes forward or stays in the front.

Then I choose Project->Clean... and run the app again.
The app on the phone disappears, and gets installed and
runs and I see my changes.

I change some code again, and save, and when I run, the
same cycle happens all over until I chose Project->Clean...
again, then it works as normal.

I googled around and saw some similar problems, but
I couldn't figure this out.

Thanks,

Tobiah

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