Kotlin/kotlinx.coroutines

[Performance impacting] Upgrade Android Build rules to use standard android library Gradle plugin

Opened this issue · 0 comments

The current android build rules relies on a Google Android maven artifact which has not been updated in ~8 years. This is very deprecated as described here

Due to this very old Android version, coroutines cannot access newer Android APIs directly like Handler.createAsync. These methods are still used in coroutines today, but require expensive reflection to access. This impacts startup performance for all coroutines users on Android.

Ideally moving to standard android library Gradle plugin can be done to allow access to newer Android APIs.