1

sir i have got an error while running my project in ecclipse. The error is:

([2010-12-23 10:42:26 - Emulator] emulator: ERROR: the user data image is used by another emulator. aborting)

kindly you please help me to solve this error.

thanks.

Amandeep singh
  • 1,865
  • 7
  • 21
  • 41

1 Answers1

2

I have not found a way of avoiding getting this issue, but you can do this to solve quickly:

Remove:

C:/Users/%user_name%/.android/avd/%name_of_avd%/cache.img.lock
C:/Users/%user_name%/.android/avd/%name_of_avd%/userdata-qemu.img.lock

You won't need to restart the emulator.

Paresh Mayani
  • 127,700
  • 71
  • 241
  • 295
  • but still it gives an warning that: ([2010-12-23 12:45:25 - helloandroid.project] ActivityManager: Warning: Activity not started, its current task has been brought to the front ) – Amandeep singh Dec 23 '10 at 09:04
  • @user552027 do one thing: Just restart your Emulator and run the application again. – Paresh Mayani Dec 23 '10 at 11:40
  • can you explain me why we use this code while programing on androidpackage hello.com.example; import android.app.Activity; import android.os.Bundle; public class Helloworld extends Activity { – Amandeep singh Dec 27 '10 at 07:24