Hello,
I use Android Studio 4.0 Beta 5 with Kotlin 1.3.72 and kodein 6.5.5. I can compile and run my app without issue but Android Studio reports me this error: Not enough information in infer type variable T for this code:
Copy code
private val toolbarManager: ToolbarManager by instance() // the underlined error is on instance()
I can have no error with this code:
Copy code
private val toolbarManager by instance<ToolbarManager>()
A while ago, perhaps before I have upgraded Android Studio and/or Kotlin and/or kodein, the first code didn't raise any error in Android Studio.
Does anybody have an explanation ?
i
ian.shaun.thomas
04/29/2020, 7:41 PM
I'm having the same issue as of recent with intellij and android studio