How can I load the Android Studio activity?

1

When I open the program, the screen where the application design is generated, simply does not finish loading, and in the upper part an error is generated that mentions something about an infinite cycle, but I do not know what is due. First of all when installing it if it served completely, but after a week this happened. Please tell me how to fix it, I'm taking classes on this platform and I need to use it. Thanks in advance.

    
asked by Yaremi Torres 11.05.2018 в 02:06
source

1 answer

1

I have also obtained this message that does not allow to build the layout preview:

  

Preview timed out while rendering the layout. This typically happens   when there is an infinite loop or unbounded recursion in one of the   custom views.

By experience It is generally not due to what is said in the message:

  

This usually happens when there is an infinite cycle or a recursion   unlimited in one of the custom views.

Apparently it is an error when building or with memory, which does not allow the correct layout to be displayed correctly, I advise you to clean up your project:

Build > Clean project

and later

Build > Rebuild project

or simply restart the Android Studio IDE.

    
answered by 11.05.2018 в 18:45