Thursday, October 3, 2019

"Unknown fragments" errors in the Android UI designer are normal

A student was poking around Android Studio today and asked about an "unknown fragments" error in the UI designer. This seems to be normal when including a fragment which has no layout to use as a preview, like the Google Maps SDK map fragment. Such fragments will appear as a dark gray box in the UI designer, but can work perfectly fine at runtime.

No comments:

Post a Comment