Why does the 'preview' of the layouts no longer appear after upgrading to Android Studio 3.0?

Asked

Viewed 3,586 times

2

I made the updating of Android Studio 2.3.3 for 3.0. From there, only headache: ready designs with problem.

Both in the design tab of layouts as in the preview window (preview), the drawing of the screen does not appear (the design of layout). What appears in the preview window is the message android..ActionBarOverlayLayout as noted in the image below. In addition, queries in the database via HTTP also stopped!

imagem do problema

What can it be?

I believe the problem has to do with configuration and not code. It follows image of Toolbar created, which in android studio 2.3 appeared in preview and design tab, and in this new version is not appearing.

inserir a descrição da imagem aqui

  • You can provide a larger image or at least include part of the problem code in the question?

  • edited the post and added new image. Thank you

2 answers

0

Look at me is happening this way I found to get around this situation was by clicking on Apptheme and selecting the following option:

inserir a descrição da imagem aqui

Material.Light.NoActionBar

After selecting this option go to Build and then Clean Project, should already appear the view!

0

It happened the same way with you, it was me updating and gave this problem.

With me I simply change the version of Android in preview and it works, I put 24 or lower.

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.