Android emulator not responding after a while

I have a script that installs an apk file, runs it and after that deletes it (using adb) on an android emulator. I repeat this for multiple apk files. But when I run the Android emulator, from a few minutes to a few hours, the emulator is no longer responding. A spinning pin appears, the only way to get away is to kill it through the terminal (using kill -9).

I tried to change two possible CPU / ABI AVD settings to (ARM and Intelx86), but both settings lead to the same problems. I have also tried different API levels (19 and 21) but no luck there either.

When I run the emulator on Mac, I thought the problem might be related to my OS, so I did the same on a computer running Ubuntu. The same problem appears on both devices.

I also recorded logcat files, but there are no similar error messages in those files.

These are the options I'm using: Android SDK / AVD Manager on

  • Mac OSX10.10 (64 bit)
  • Java version 1.7.0_65

and

  • Ubuntu 14.04 (64 bit)
  • Java version 1.8_0.25

Any idea (why or) how to figure out why the emulator is no longer responding?

Any help would be appreciated.

+3


source to share





All Articles