Unable to start activity ComponentInfo{com.example.administrator.myapplication/com.example.administr

博观而约取,厚积而薄发。这篇文章主要讲述Unable to start activity ComponentInfo{com.example.administrator.myapplication/com.example.administr相关的知识,希望能为你提供帮助。
本来就是把fragment写死在activity的xml模板里面,结果报了这个错误,  Unable to start activity ComponentInfo{com.example.administrator.myapplication/com.example.administrator.myapplication.MainActivity}: android.view.InflateException: Binary XML file line #0: Binary XM,,下面找到了解决方法
[email  protected] must implement OnFragmentInteractionListener
 
【Unable to start activity ComponentInfo{com.example.administrator.myapplication/com.example.administr】Mainactivity必须实现OnFragmentInteractionListener这个接口

    推荐阅读