Home > Net >  Error inflating class fragment. Can anyone explain why this error occurs out of nowhere
Error inflating class fragment. Can anyone explain why this error occurs out of nowhere

Time:11-21

[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]

CodePudding user response:

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

CodePudding user response:

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...

  • Related