2016-07-27 63 views
0

我正在使用滑塊庫顯示我這個錯誤,當我運行和程序崩潰 它工作正常,突然我現在運行不工作真的如此奇怪的問題。JNI錯誤(應用程序錯誤):本地參考表溢出(最大= 512)Android

Here是代碼。

'<com.daimajia.slider.library.SliderLayout 
        android:id="@+id/slider" 
        android:layout_width="wrap_content" 
        android:layout_centerInParent="true" 
        android:layout_height="@dimen/parallax_image_height" 
        android:scaleType="centerCrop" 
        custom:auto_cycle="true" 
        custom:indicator_visibility="visible" 
        custom:pager_animation="Accordion" 
        custom:pager_animation_span="1100" />' 



     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115] JNI ERROR (app bug): local reference table overflow (max=512) 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115] local reference table dump: 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115] Last 10 entries (of 512): 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]  511: 0x12c81c00 grand.myapp.MainPage 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]  510: 0x12ea6280 java.lang.String "LinearLayout" 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]  509: 0x12c81c00 grand.myapp.MainPage 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]  508: 0x1302d000 com.daimajia.slider.library.SliderLayout 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]  507: 0x1302c800 com.daimajia.slider.library.SliderLayout 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]  506: 0x1302c000 com.daimajia.slider.library.SliderLayout 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]  505: 0x1302b800 com.daimajia.slider.library.SliderLayout 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]  504: 0x1302b000 com.daimajia.slider.library.SliderLayout 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]  503: 0x1302a800 com.daimajia.slider.library.SliderLayout 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]  502: 0x1302a000 com.daimajia.slider.library.SliderLayout 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115] Summary: 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]   2 of grand.myapp.MainPage (1 unique instances) 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]  503 of com.daimajia.slider.library.SliderLayout (503 unique instances) 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]   2 of java.lang.Class (2 unique instances) 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]   1 of java.lang.String[] (3 elements) 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115]   4 of java.lang.String (4 unique instances) 
     07-27 10:37:45.382: A/art(26770): art/runtime/indirect_reference_table.cc:115] 
     07-27 10:37:46.722: A/art(26770): art/runtime/barrier.cc:90] Check failed: count_ == 0 (count_=-1, 0=0) Attempted to destroy barrier with non zero count 
     07-27 10:37:46.722: A/art(26770): art/runtime/runtime.cc:370] Runtime aborting --- recursively, so no thread-specific detail! 
     07-27 10:37:46.722: A/art(26770): art/runtime/runtime.cc:370] 
     07-27 10:37:46.723: A/libc(26770): Fatal signal 6 (SIGABRT), code -6 in tid 26770 (grand.myapp) 
+0

歡迎堆棧溢出!我儘可能地猜測你的問題,然後編輯你的問題。但是,添加代碼和說明以便更多知道該主題的人員將看到它。如果需要識別特定問題,請編輯您遇到的特定錯誤消息。祝你好運! – manetsus

回答

1

最後的問題就迎刃而解了真是怪事情 我發現,我創建了一個佈局,這個名字 slider_layout當我改變了它的一切工作得很好:)

相關問題