Doesn't Android have enough tiles for the page?

When I open my activity, the screen is simply blank ... then I see the above error in the log:

01-28 15:19:03.000: D/TiledPage(3366): ERROR: We don't have enough tiles for this page! nbTilesHeight 427575 nbTilesWidth 786344

I got lost as to where I need to go from here. The app worked fine in the past, now it just shows a blank screen.

The layout for the activity being displayed is an action bar and web view that fills the remaining space. Even the action bar doesn’t appear, so I don’t think it is related to web browsing.

Any help would be greatly appreciated!

Update:

When I forcefully close the application and open it again, it works. Obviously, I don't want this to happen when the user is using the application, and what can I do to prevent it in the future? This will help you find out how to find the actual cause.

+6
source share
1 answer

Do you have hardware acceleration enabled? You can try disabling it by setting View.setLayerType(View.LAYER_TYPE_SOFTWARE, null); . This disables hardware acceleration for presentation only. You can also include it worldwide. here for more information on hardware acceleration.

+4
source

Source: https://habr.com/ru/post/907130/


All Articles