5

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 2

5

This is a known problem. It is supposed to be fixed in Android Studio 4.2 Canary 8.

1
  • 2
    I'm still facing the same issue using Android Studio 4.2 Canary 13 / kotlinCompilerVersion '1.4.10' / kotlinCompilerExtensionVersion '1.0.0-alpha03' Oct 13, 2020 at 21:53
1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.