2017-01-08 11 views
0

탐색 서랍 활동에 Android Studio를 열었을 때 에로가 생깁니다. 내가 전에 비슷한 문제를 했어Android 스튜디오 탐색 서랍 오류

java.lang.IllegalStateException: Unable to locate mode 0 
at android.view.DisplayInfo.findMode(DisplayInfo.java:458) 
at android.view.DisplayInfo.getMode(DisplayInfo.java:445) 
at android.view.Display.getRefreshRate(Display.java:648) 
at android.support.v7.widget.RecyclerView.onAttachedToWindow(RecyclerView.java:2392) 
at android.view.View.dispatchAttachedToWindow(View.java:15392) 
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2953) 
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960) 
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960) 
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960) 
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960) 
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960) 
at android.view.AttachInfo_Accessor.setAttachInfo(AttachInfo_Accessor.java:42) 
at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:333) 
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:429) 
at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:389) 
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:548) 
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:533) 
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:966) 
at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:533) 
at com.android.tools.idea.rendering.RenderTask.lambda$inflate$70(RenderTask.java:659) 
at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
at java.lang.Thread.run(Thread.java:745) 

답변

0

:이 오류는 오류 세부입니다

을 렌더링하는 동안 발생 문제 예외 렌더링 다음과 같은 말한다. 일반적으로 프로젝트를 정리하고 다시 빌드하거나 Android Studio 및/또는 SDK를 업데이트하면 문제가 해결됩니다.