应用程序正在使用Listview、Fragment、FrameLayout、相对和线性布局。

升级主屏幕

->协调布局

->应用程序布局

->工具栏

其他的都是一样的内屏幕。

问题是:应用程序启动并打开了主屏幕,过了一段时间/一段时间后,应用程序出现以下错误并崩溃。找不到根本原因。有很多搜索和发现,可能是ListView适配器有问题。请告诉我我是做什么的。

08-22 16:46:19.057 5234-6825/? E/Watchdog: !@Sync 12989 [2018-08-22 16:46:19.057]

08-22 16:46:19.324 3237-3237/? E/Sensors: inject_scontext_data: New ssp_data_injection_fd(32)

08-22 16:46:20.987 6696-6696/? E/SignalClusterView: setSlotFocusVisible : subId 2

setSlotFocusVisible : subId 2

08-22 16:46:23.282 21569-21569/com.XXXX E/AndroidRuntime: FATAL EXCEPTION: main

Process: com.XXXX, PID: 21569

java.lang.StackOverflowError: stack size 8MB

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7531)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

08-22 16:46:23.285 21569-21569/com.nimbuzz E/AndroidRuntime: at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:7533)

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐