Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Meaning of blinking red border in emulator

I've noticed that occasionally, I will see a red border appear briefly while using the Android emulator (API level 15). It seems to sometimes occur when switching between applications or unlocking the device, but a surefire way to make it appear is by opening the Camera app:

enter image description here

I can occasionally also invoke this behavior when opening the Messaging app:

enter image description here

What does it mean?

like image 879
Paul Lammertsma Avatar asked Apr 13 '12 00:04

Paul Lammertsma


People also ask

Why is there a red outline on my phone?

This is caused by the strict mode setting under the developer options. It flashes a red border around the screen when anything does a long operation on the main thread.

Why emulator is not opening?

If the Android Emulator does not start properly, this problem is often related to discovering that your application's minimum SDK is higher than your emulator SDK. If that's not the case, make sure you have HAXM installer on your SDK Manager.

How do I turn off emulator?

To stop a running emulator, click Menu and select Stop. To clear the data for an emulator, select Wipe Data.


1 Answers

This is also available on ICS hardware (Settings > Developer > Strict mode enabled). It is indicating that whatever is in the foreground is consuming excessive time on the main application thread of its process.

like image 85
CommonsWare Avatar answered Sep 28 '22 01:09

CommonsWare