我尝试在其他地方寻找这个问题的解决方案,包括一些关于堆栈溢出的问题,但他们没有提供我的问题的解决方案。所以请不要将我的问题标记为重复。我正在尝试使用JetpackCompose和Android Studio Canary。Searched in the following locations:
- https://dl.google.com/dl/android
我知道最低API级别21是在项目中启用JetpackCompose的必要条件。
我想在我现有的项目中使用JetPackCompose。它使用minSdkVersion=17,并且我不能向build.gradle添加组合依赖项。:minSdkVersion 17 cannot be smaller than version 21 declared in library [androidx.activity:activity-compose:1.3.0
我使用的是Android Studio 4.1.3,但是当我运行Jetcaster项目( Google代码的一个例子)时,我得到了这个错误。This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project