在 Android Studio 4.0(Canary) 中找不到预览窗口的位置 [英] Can't find where the preview window is in Android Studio 4.0(Canary)

查看:55
本文介绍了在 Android Studio 4.0(Canary) 中找不到预览窗口的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读有关在 Android Studio 4.0(Canary) 中运行的 Jetpack 的教程,请参阅下面的链接帖子.

I'm going through the tutorials about Jetpack which is ran in the Android Studio 4.0(Canary), please refer to the link post below.

https://developer.android.com/jetpack/compose/tutorial

一切都准备好了,只是因为我尝试预览可组合"方法而找不到预览窗口.

Everything is ready except I can't find the preview window since I try to preview the "Composable" method.

谁能给我一个确切的提示,告诉我预览窗口在哪里?

Can someone give me an exact hint that where the preview window is?

推荐答案

您必须先构建项目(Build -> Make Project).我还必须重新启动 Android Studio 才能开始工作.

You have to build the project first (Build -> Make Project). I also had to restart Android Studio in order for previews to start working.

这篇关于在 Android Studio 4.0(Canary) 中找不到预览窗口的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆