为什么Jetpack Compose Preview不显示任何内容? [英] Why Jetpack Compose Preview shows nothing?
本文介绍了为什么Jetpack Compose Preview不显示任何内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Jetpack Compose,而Preview仅显示标题:
I'm using Jetpack Compose and the Preview show just the title:
但是如果我使用dev13版本,它就可以正常工作.
But if i use the dev13 version it works fine.
IDE:Android Studio 4.2 Canary 7
撰写:0.1.0-dev17
IDE: Android Studio 4.2 Canary 7
Compose: 0.1.0-dev17
推荐答案
这是一个已知问题. 应该在Android Studio 4.2 Canary 8中修复.
This is a known problem. It is supposed to be fixed in Android Studio 4.2 Canary 8.
这篇关于为什么Jetpack Compose Preview不显示任何内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文