运行Jetpack Compose示例时出现错误

问题描述

我想从Jetpack Compose sample个应用程序运行“ Owl App”,但出现此错误

This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project,please retry with version 4.2 or newer.

这是做什么用的?

解决方法

此问题是由于在项目中使用了较新版本的gradle所致。

您需要使用Android Studio的latest canary version