Search code examples
androidandroid-studioandroid-jetpack-composeandroid-studio-4.0

Can't find where the preview window is in Android Studio 4.0(Canary)


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?


Solution

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