android.view.InflateException: Binary XML file line #10: Error inflating class fragment

前端 未结 4 895
我寻月下人不归
我寻月下人不归 2021-01-06 02:30

I created an app by following the tutorial at http://www.techotopia.com/index.php/Using_Fragments_in_Android_-_A_Worked_Example, but I have a error.

LogCat:<

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-06 03:22

    In my case Google Maps were not correctly initialized. A message in log console printed about it. I had to add

    
    

    to inside AndroidManifest.

提交回复
热议问题