skip to Main Content
[Error inflating class fragment. Can anyone explain why this error occurs nowhere? I'm not getting why didn't it show at first why this happened when it was running before  ][Error inflating class fragment. Can anyone explain why this error occurs nowhere? I’m not getting why didn’t it show at first why this happened when it was running before]

2

Answers


  1. Chosen as BEST ANSWER

    android:id="@+id/map1" is in line 17, which was the fragment id. I just simply changed map1 into map_one and the error is gone. Hopefully, no one has to face this...


  2. Please share your fragment file and check if you are providing correct resource as it is giving resource not found please check that also

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search