Jetpack compose internal compiler arguments warning

Viewed 1525

I have created a brand new android application using compose 1.0.1 and Kotlin 1.5.20 and I am getting this warning during compilation:

w: ATTENTION!
This build uses unsafe internal compiler arguments:

-XXLanguage:+NonParenthesizedAnnotationsOnFunctionalTypes

This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!

You can reproduce it by creating a brand new empty compose activity project in Android Studio Arctic Fox 2020.3.1 and running ./assembleDebug. It also happens on any other android studio project when compose is added

Should I be worried about this warning? Given this warning, is Compose ready for production yet?

1 Answers

Compose is definitely production ready, that is why it is launched on the stable channel now. As far as the warning is concerned, I think you need not worry about it. I have seen this issue in previous versions and it got fixed eventually. It might have recurred, but I guess since it is internal, there's not much you can do about it. Long as it does not prevent you from developing further, it's ok. Chill

Related