Binary XML file line #8: Binary XML file line #2: Error inflating class android.support.design.widge


change these in your layout;

android.support.design.widget.CoordinatorLayout
android.support.design.widget.AppBarLayout
android.support.v7.widget.Toolbar
android.support.design.widget.TabLayout
android.support.v4.view.ViewPager

to this

androidx.coordinatorlayout.widget.CoordinatorLayout
com.google.android.material.appbar.AppBarLayout
androidx.appcompat.widget.Toolbar
com.google.android.material.tabs.TabLayout
androidx.viewpager.widget.ViewPager

具体应该是版本问题:原贴 StackOverFlow

你可能感兴趣的:(Binary XML file line #8: Binary XML file line #2: Error inflating class android.support.design.widge)