Unable To Instantiate Android.gms.maps.supportmapfragment
Solution 1:
Judging by you error:
Caused by: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.google.android.gms.maps.SupportMapFragment: make sure class name exists, is public, and has an empty constructor that is public
and the fact the SupportManFragment
class is part of the google-play-services
library, you problem is surtenly in the way you reference this library or the library it self.
I would suggest you to re-download it using the SDK-Manager and move it to a location where it path would be shorter and then try to reference it again using the answer you have in this question:
Error java.lang.ClassNotFoundException: com.google.android.gms.maps.MapFragment in Google Map V2
Solution 2:
Right click on project ---> Android Tools ---> Add Support Library. Download it and clear the project and build again. Hope it will work
Post a Comment for "Unable To Instantiate Android.gms.maps.supportmapfragment"