A Journey of Migrating to Android Jetpack Compose Part I

Part I: project setup

Existing app

Step 1, project setup

Step 2, Kotlin version

// project level
ext.kotlin_version = ‘1.4.31’

Step 3, enable Compose

Step 4, target Java 8

Step 5, setup module dependencies

Step 6. Android gradle version

👆this one is important, I was stuck there a bit because I didn’t use the gradle alpha version.

Summary

A Journey of Migrating to Android Jetpack Compose Part II

--

--

快赠我幽默感。Sharing is caring.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store