陈大雷的博客

技术改变生活

目录
Android Studio 2.2 Preview timed out while rendering the layout.
/    

Android Studio 2.2 Preview timed out while rendering the layout.

the stack trace:

java.util.concurrent.TimeoutException: 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.
.....

try this:
Build -> Rebuild Project 无效

try this:
File > Invalidate Caches / Restart... 解决

评论