{"action":"created","issue":{"url":"https://api.github.com/repos/brianwernick/ExoMedia/issues/341","repository_url":"https://api.github.com/repos/brianwernick/ExoMedia","labels_url":"https://api.github.com/repos/brianwernick/ExoMedia/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/brianwernick/ExoMedia/issues/341/comments","events_url":"https://api.github.com/repos/brianwernick/ExoMedia/issues/341/events","html_url":"https://github.com/brianwernick/ExoMedia/issues/341","id":185035870,"number":341,"title":"Android Studio 2.2  Preview timed out while rendering the layout.","user":{"login":"recwert","id":6966453,"avatar_url":"https://avatars.githubusercontent.com/u/6966453?v=3","gravatar_id":"","url":"https://api.github.com/users/recwert","html_url":"https://github.com/recwert","followers_url":"https://api.github.com/users/recwert/followers","following_url":"https://api.github.com/users/recwert/following{/other_user}","gists_url":"https://api.github.com/users/recwert/gists{/gist_id}","starred_url":"https://api.github.com/users/recwert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/recwert/subscriptions","organizations_url":"https://api.github.com/users/recwert/orgs","repos_url":"https://api.github.com/users/recwert/repos","events_url":"https://api.github.com/users/recwert/events{/privacy}","received_events_url":"https://api.github.com/users/recwert/received_events","type":"User","site_admin":false},"labels":[{"id":435789916,"url":"https://api.github.com/repos/brianwernick/ExoMedia/labels/Needs%20More%20Info","name":"Needs More Info","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-25T07:10:34Z","updated_at":"2016-11-25T15:44:07Z","closed_at":"2016-10-27T10:33:09Z","body":"When include the exoMedia to xml layout, the android studio 2.2 preview throw exception\njava.util.concurrent.TimeoutException: Preview timed out while rendering the layout.\nThis typically happens when there is an infinite loop or unbounded recursion in one of the custom views.\n    at java.lang.Object.wait(Native Method)\n    at java.lang.Object.wait(Object.java:502)\n    at com.google.android.exoplayer.ExoPlayerImplInternal.release(ExoPlayerImplInternal.java:188)\n    at com.google.android.exoplayer.ExoPlayerImpl.release(ExoPlayerImpl.java:156)\n    at com.devbrackets.android.exomedia.exoplayer.EMExoPlayer.release(EMExoPlayer.java:275)\n    at com.devbrackets.android.exomedia.EMVideoView.release(EMVideoView.java:359)\n    at com.devbrackets.android.exomedia.EMVideoView.onDetachedFromWindow(EMVideoView.java:142)\n    at android.view.View.dispatchDetachedFromWindow(View.java:15443)\n    at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3224)\n    at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3216)\n    at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3216)\n    at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3216)\n    at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3216)\n    at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3216)\n    at android.view.AttachInfo_Accessor.detachFromWindow(AttachInfo_Accessor.java:51)\n    at com.android.layoutlib.bridge.impl.RenderSessionImpl.dispose(RenderSessionImpl.java:1469)\n    at com.android.layoutlib.bridge.BridgeRenderSession.dispose(BridgeRenderSession.java:203)\n    at com.android.tools.idea.rendering.RenderTask$$Lambda$176/1729223569.run(Unknown Source)\n    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n    at java.util.concurrent.FutureTask.run(FutureTask.java:266)\n    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n    at java.lang.Thread.run(Thread.java:745)\n"},"comment":{"url":"https://api.github.com/repos/brianwernick/ExoMedia/issues/comments/262982589","html_url":"https://github.com/brianwernick/ExoMedia/issues/341#issuecomment-262982589","issue_url":"https://api.github.com/repos/brianwernick/ExoMedia/issues/341","id":262982589,"user":{"login":"brianwernick","id":8961257,"avatar_url":"https://avatars.githubusercontent.com/u/8961257?v=3","gravatar_id":"","url":"https://api.github.com/users/brianwernick","html_url":"https://github.com/brianwernick","followers_url":"https://api.github.com/users/brianwernick/followers","following_url":"https://api.github.com/users/brianwernick/following{/other_user}","gists_url":"https://api.github.com/users/brianwernick/gists{/gist_id}","starred_url":"https://api.github.com/users/brianwernick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianwernick/subscriptions","organizations_url":"https://api.github.com/users/brianwernick/orgs","repos_url":"https://api.github.com/users/brianwernick/repos","events_url":"https://api.github.com/users/brianwernick/events{/privacy}","received_events_url":"https://api.github.com/users/brianwernick/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T15:44:07Z","updated_at":"2016-11-25T15:44:07Z","body":"I'm going to lock this thread as either the original question was relating to #246 or something else; either way you should not be using a AS 2.2 preview as the stable 2.2 was released a while ago"}}
{"actor":{"display_login":"brianwernick"}}