0

I can no longer run any programs on my tablet from eclipse connected by usb cable. it keeps saying

Warning: Activity not started, its current task has been brought to the front

this has happen before and I would turn off my tablet turn it back on and it would work fine. The complete log:

[2012-09-11 20:03:42 - TellaFortune] adb is running normally.
[2012-09-11 20:03:42 - TellaFortune] Performing besttecksolutions.tellafortune.TellaFortuneActivity activity launch
[2012-09-11 20:03:48 - TellaFortune] Application already deployed. No need to reinstall.
[2012-09-11 20:03:48 - TellaFortune] Starting activity besttecksolutions.tellafortune.TellaFortuneActivity on device emulator-5554
[2012-09-11 20:03:49 - TellaFortune] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=besttecksolutions.tellafortune/.TellaFortuneActivity }
[2012-09-11 20:03:49 - TellaFortune] ActivityManager: Warning: Activity not started, its current task has been brought to the front
Jano
  • 62,815
  • 21
  • 164
  • 192
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
  • The activity is still in background activity stack. Does it show the same message(s) when you do whatever change in the code? – Nikola Despotoski Sep 12 '12 at 00:11
  • The only time I have seen this happen is when there are no significant code changes so it does not build and deploy, and the app still has not been dumped from memory yet. Can you see the activity in the DDMS tab,and if so can you stop the task? – Idistic Sep 12 '12 at 00:21

2 Answers2

1

This means that you have not edited the app itself or the service that runs in the background of your app. Eclipse will not reinstall an already installed app that is the same as an app already on the emulator or device. To solve this, edit any part of the app.

ninge
  • 1,592
  • 1
  • 20
  • 40
1

Just edit any file then save and run the app using Eclipse. A duplicate answer can be found here

Community
  • 1
  • 1
chip
  • 1,779
  • 1
  • 22
  • 34