loloof64
03/09/2021, 9:32 AMandroidx.compose.ui.tooling.preview.PreviewActivity is not an Activity subclass or alias
though I managed to launch it yesterday.
This is my preview :
@Preview
@Composable
fun ChessBoardPreview() {
ChessBoard(size = 60.dp)
}
where ChessBoard is a Composable component that I'm writing
Android Studio Arctic Fox | 2020.3.1 Canary 8
Build #AI-203.7148.57.2031.7165533, built on February 23, 2021
Runtime version: 11.0.8+0-b944-P17168821 amd64
VM: OpenJDK 64-Bit Server VM by N/A
Linux 5.10.19-200.fc33.x86_64
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 4
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.intellij.plugins.markdown
Current Desktop: GNOME