I migrated my Android project to androidX and now facing several issues with support for androidX. I was able to fix some of them with upgrading the external library to its latest version to support androidX. But I have other libraries that are not maintained for several years. For example I am using the KenBurnsView and get following error:
Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public val Activity.ivStoryItem: KenBurnsView! defined in kotlinx.android.synthetic.main.fragment_story_item
public val Dialog.ivStoryItem: KenBurnsView! defined in kotlinx.android.synthetic.main.fragment_story_item
public val android.app.Fragment.ivStoryItem: KenBurnsView! defined in kotlinx.android.synthetic.main.fragment_story_item
public val android.support.v4.app.Fragment.ivStoryItem: KenBurnsView! defined in kotlinx.android.synthetic.main.fragment_story_item
public val View.ivStoryItem: KenBurnsView! defined in kotlinx.android.synthetic.main.fragment_story_item.view
I already tried to exclude the support.v4. library in the KenBurnsView but it did not help. How can I fix this error?