Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio: "Frame is not available"?

I am working with Google's Leanback library for Android TV and I am trying to figure out how to best listen for the buttons on the remote control (especially the ones that are not captured by the MediaSession).

For that reason I have a break point in BaseGridView.dispatchTouchEvent() and when I press one of the remote buttons the debugger does indeed jump to that point and shows me the usual debug information.

However, after a few (2-5) seconds the debug info disappears and is replaced by the message "Frame is not available".

In other places the debugger is working fine, so I was wondering whether the delay caused by the debugger is counted as ANR and the app is therefore force closed?

In any case, is there any way to get around this?

like image 437
david.mihola Avatar asked Sep 30 '15 10:09

david.mihola


People also ask

What does'frames not available'mean in Android Studio?

Start your free trial today. When you get the message "frames not available" it means that no more frames are available for debugging. The frames are part of Android Studio's debugging which gives you access to the list of threads running in your application. It is the long list of processes you see in the debugging window.

What are the frames in Android Studio?

The frames are part of Android Studio's debugging which gives you access to the list of threads running in your application. It is the long list of processes you see in the debugging window.

What does “frames not available” mean?

When you get the message "frames not available" it means that no more frames are available for debugging. The frames are part of Android Studio's debugging which gives you access to the list of threads running in your application.

Why can't I install Android Studio on Linux?

This prompt is caused by new privacy protection mechanisms for applications that access files under the home directory. So, if your project includes files and libraries in your home directory, and you see this prompt, you can select Don't Allow . To install Android Studio on Linux, proceed as follows:


1 Answers

This message appears because u set too many breakpoints, and threads are waiting data from other threads, to settle this, you could cancel some breakpoints and waiting for the data to be ready...

like image 199
dan Avatar answered Oct 01 '22 17:10

dan