Kotlinx.coroutines' bug

After remove those dependencies,“constraintLayout” coudn’t be compiled.

If you have Android crashes, the best source for log information is not the run console but the “logcat” window that allows you to inspect the logs that the device (emulator or real phone) has recorded. All crash messages (and other log messages) eventually end up there. Later versions of studio attempt to copy some logs from this to the run console, but that’s not quite reliable.

1 Like

Some of the Android support libraries may not be pulled in by the meta-dependency.
Then add,
implementation "org.jetbrains.anko:anko-constraint-layout:$anko_version"

Look at the section under “Using Anko”, GitHub - Kotlin/anko: Pleasant Android application development