I am trying to create a MapView (currently without any overlays) inside some nested elements.
It is basically something like ScrollView -> RelativeLayout -> Rela
steemcb is correct, but unfortunately there is also a bug in MapView
that causes this to happen even if your layout is good. I got the exact same stack trace as yours. It is a fragile component and small changes in layout type will cause it to break unexpectedly, especially if it's wrapped in a ScrollLayout
.
It hasn't yet been addressed by anyone from the Android project.