Why Jetpack Compose Preview shows nothing?

Viewed 1122

I'm using Jetpack Compose and the Preview show just the title:

Image

But if i use the dev13 version it works fine.

IDE: Android Studio 4.2 Canary 7
Compose: 0.1.0-dev17

2 Answers

For anyone still looking for this in 2022

I had a spelling mistake in my dimens.xml, where I typed

    <dimen name="composeMinTouchTargetSize">48.dp</dimen>

The dot shouldn't be there. Device ignores it, Android Studio balks without error

Related