--

In your app module build.gradle.kts add:

import org.jetbrains.kotlin.gradle.plugin.PLUGIN_CLASSPATH_CONFIGURATION_NAME...//remove this:
buildFeatures { compose = true }
...dependencies {
add(PLUGIN_CLASSPATH_CONFIGURATION_NAME, compiler)
...
}

Also:

  • const val compiler = “androidx.compose.compiler:compiler:1.0.0-beta05”
  • const val kotlin = “1.4.32”
  • gradle-wrapper is gradle-6.8.3-bin.zip
  • classpath(“com.android.tools.build:gradle:4.1.3”)

And you’re good to go.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Guilherme Delgado
Guilherme Delgado

Written by Guilherme Delgado

Software Engineer at BlissApplications 🇵🇹 • github.com/GuilhE • When I’m not coding I’m 🧗🏽or 🏄‍♂️

Responses (1)

Write a response