0

I have multi module app and added plugin id 'kotlin-parcelize into app module. But it still shows Unresolved reference. Kotlin version is 1.5.10.

I know there are similar first question and second question but I tried everything described there but still not working.

Marat
  • 1,288
  • 2
  • 11
  • 22

1 Answers1

0

It turns out that kotlin-parcelize depends on kotlin-android and ordering of the plugins matters. So it should be like here:

apply plugin: 'kotlin-android'
apply plugin: 'kotlin-parcelize'
Marat
  • 1,288
  • 2
  • 11
  • 22
  • If I made these change in Windows 10, with andrid studio, I start to get an error with the cocopods plugin, which until the added, works fine – Manuel Lucas Jan 15 '22 at 12:22