4
최근 Android Support Design 라이브러리에서이 오류가 발생합니다. 같은 버그에 대해 알려진 버그가 있습니까? 비슷한 오류가 발생하는 사람이 있습니까? ** 크기가 5 잘못된 인덱스 5 :Android Support 크래시 디자인 라이브러리
AndroidRuntime E FATAL EXCEPTION: main
E Process: com.myeglu.android.canary, PID: 11638
E java.lang.IndexOutOfBoundsException: Invalid index 5, size is 5
E at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
E at java.util.ArrayList.get(ArrayList.java:308)
E at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:848)
E at android.view.View.layout(View.java:16651)
E at android.view.ViewGroup.layout(ViewGroup.java:5440)
E at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1197)
E at android.view.View.layout(View.java:16651)
E at android.view.ViewGroup.layout(ViewGroup.java:5440)
E at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
E at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
E at android.view.View.layout(View.java:16651)
E at android.view.ViewGroup.layout(ViewGroup.java:5440)
E at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
E at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
E at android.view.View.layout(View.java:16651)
E at android.view.ViewGroup.layout(ViewGroup.java:5440)
E at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
E at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
E at android.view.View.layout(View.java:16651)
E at android.view.ViewGroup.layout(ViewGroup.java:5440)
E at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
E at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
E at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
E at android.view.View.layout(View.java:16651)
E at android.view.ViewGroup.layout(ViewGroup.java:5440)
E at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
E at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
E at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)
E at android.view.View.layout(View.java:16651)
E at android.view.ViewGroup.layout(ViewGroup.java:5440)
E at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2183)
E at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1943)
E at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1119)
E at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6060)
E at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
E at android.view.Choreographer.doCallbacks(Choreographer.java:670)
E at android.view.Choreographer.doFrame(Choreographer.java:606)
E at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
E at android.os.Handler.handleCallback(Handler.java:746)
E at android.os.Handler.dispatchMessage(Handler.java:95)
E at android.os.Looper.loop(Looper.java:148)
E at android.app.ActivityThread.main(ActivityThread.java:5443)
E at java.lang.reflect.Method.invoke(Native Method)
E at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
E at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
이 ** java.lang.IndexOutOfBoundsException 최신 지원 설계 라이브러리 버전으로 업데이트해야합니다. 사용한 arraylist의 크기를 확인하십시오. –
YEP. 그러나 프레임 워크 내부 코드 인 CoordinatorLayout의 내부에서 오는 것입니다. 그래서, 나는 애플 리케이션이 충돌시키는 것을 제외하고는 이것을 처리 할 수 없다. – Gopinath
@Gopinath 나는 똑같은 것을보고있다. 프로 가드를 사용하고 있습니까? –