Butterknife: Resource IDs will be non-final in Android Gradle Plugin version 5.0, avoid using them as annotation attributes

Created on 15 Oct 2020  路  8Comments  路  Source: JakeWharton/butterknife

Most helpful comment

See #1634. Tl;dr use R2 or migrate to view binding.

In fact, I used R2 replacing R. This warning exists always.

All 8 comments

image

upgrade gradle & Android Studio 4.1

Same problem, is this a code-breaking issue?

I have also with Android Studio 4.1 (AI-201.8743.12.41.6858069) and gradle 6.5

See #1634. Tl;dr use R2 or migrate to view binding.

Thanks, I think migrating to view binding would be better

See #1634. Tl;dr use R2 or migrate to view binding.

In fact, I used R2 replacing R. This warning exists always.

@JakeWharton, I also get this warning while using R2.

Should I be worry about this warning? Will it break this library?

Was this page helpful?
0 / 5 - 0 ratings