Open HoseaDev opened 6 years ago
我app一启动就各种报这种样子的错.我看了日志 MyEaseConversationListFragment.java:107 问题出现在这一行
我前后打了运行时间 耗时: 115ms 并没有插件所报的 1610ms
坑了2天了.也优化过布局减少了布局的嵌套.
versionName = 1.92d versionCode = 6 imei = 869938029768778 uid = uid network = unknown model = Letv X500 api-level = 23 6.0 cpu-core = 8 process = xxxx.xxx.xxx freeMemory = 1178112 totalMemory = 2726172 time = 1610 thread-time = 1502 time-start = 11-02 11:09:50.434 time-end = 11-02 11:09:52.044 cpu-busy = false cpu-rate = null stack = 11-02 11:09:51.237 java.lang.reflect.Constructor.newInstance(Native Method) android.view.LayoutInflater.createView(LayoutInflater.java:619) android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764) android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704) android.view.LayoutInflater.rInflate(LayoutInflater.java:835) android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798) android.view.LayoutInflater.inflate(LayoutInflater.java:515) android.view.LayoutInflater.inflate(LayoutInflater.java:423) com.hyphenate.chatuidemo.ui.MyEaseConversationListFragment.onCreateView(MyEaseConversationListFragment.java:107) android.support.v4.app.Fragment.performCreateView(Fragment.java:2192) android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1299) android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1528) android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1595) android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:758) android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2363) android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2149) android.support.v4.app.FragmentManagerImpl.optimizeAndExecuteOps(FragmentManager.java:2103) android.support.v4.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:1984) android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:626) android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:143) android.support.v4.view.ViewPager.populate(ViewPager.java:1268) android.support.v4.view.ViewPager.populate(ViewPager.java:1116) android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1642) android.view.View.measure(View.java:19395) android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:825) android.widget.RelativeLayout.onMeasure(RelativeLayout.java:511) android.view.View.measure(View.java:19395) android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1658) android.view.View.measure(View.java:19395) android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:825) android.widget.RelativeLayout.onMeasure(RelativeLayout.java:511) android.view.View.measure(View.java:19395) android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6113) android.widget.FrameLayout.onMeasure(FrameLayout.java:223) android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:139) android.view.View.measure(View.java:19395) android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6113) android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1723) android.widget.LinearLayout.measureVertical(LinearLayout.java:788) android.widget.LinearLayout.onMeasure(LinearLayout.java:648) android.view.View.measure(View.java:19395) android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6113) android.widget.FrameLayout.onMeasure(FrameLayout.java:223) android.view.View.measure(View.java:19395) android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6113) android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1723) android.widget.LinearLayout.measureVertical(LinearLayout.java:788) android.widget.LinearLayout.onMeasure(LinearLayout.java:648)
我app一启动就各种报这种样子的错.我看了日志 MyEaseConversationListFragment.java:107 问题出现在这一行
我前后打了运行时间 耗时: 115ms 并没有插件所报的 1610ms
坑了2天了.也优化过布局减少了布局的嵌套.
versionName = 1.92d versionCode = 6 imei = 869938029768778 uid = uid network = unknown model = Letv X500 api-level = 23 6.0 cpu-core = 8 process = xxxx.xxx.xxx freeMemory = 1178112 totalMemory = 2726172 time = 1610 thread-time = 1502 time-start = 11-02 11:09:50.434 time-end = 11-02 11:09:52.044 cpu-busy = false cpu-rate = null stack = 11-02 11:09:51.237 java.lang.reflect.Constructor.newInstance(Native Method) android.view.LayoutInflater.createView(LayoutInflater.java:619) android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764) android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704) android.view.LayoutInflater.rInflate(LayoutInflater.java:835) android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798) android.view.LayoutInflater.inflate(LayoutInflater.java:515) android.view.LayoutInflater.inflate(LayoutInflater.java:423) com.hyphenate.chatuidemo.ui.MyEaseConversationListFragment.onCreateView(MyEaseConversationListFragment.java:107) android.support.v4.app.Fragment.performCreateView(Fragment.java:2192) android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1299) android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1528) android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1595) android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:758) android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2363) android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2149) android.support.v4.app.FragmentManagerImpl.optimizeAndExecuteOps(FragmentManager.java:2103) android.support.v4.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:1984) android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:626) android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:143) android.support.v4.view.ViewPager.populate(ViewPager.java:1268) android.support.v4.view.ViewPager.populate(ViewPager.java:1116) android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1642) android.view.View.measure(View.java:19395) android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:825) android.widget.RelativeLayout.onMeasure(RelativeLayout.java:511) android.view.View.measure(View.java:19395) android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1658) android.view.View.measure(View.java:19395) android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:825) android.widget.RelativeLayout.onMeasure(RelativeLayout.java:511) android.view.View.measure(View.java:19395) android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6113) android.widget.FrameLayout.onMeasure(FrameLayout.java:223) android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:139) android.view.View.measure(View.java:19395) android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6113) android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1723) android.widget.LinearLayout.measureVertical(LinearLayout.java:788) android.widget.LinearLayout.onMeasure(LinearLayout.java:648) android.view.View.measure(View.java:19395) android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6113) android.widget.FrameLayout.onMeasure(FrameLayout.java:223) android.view.View.measure(View.java:19395) android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6113) android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1723) android.widget.LinearLayout.measureVertical(LinearLayout.java:788) android.widget.LinearLayout.onMeasure(LinearLayout.java:648)