[][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]
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
2
Answers
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...
Please share your fragment file and check if you are providing correct resource as it is giving resource not found please check that also