LoginSignup
0
0

More than 5 years have passed since last update.

Kotlin、Dagger2、Architecture Componentという構成でDagger Missing Bindingに苛まれる!

Posted at

Kotlin、Dagger2、Architecture Component

この構成については、Kotlin + Architecture Component + Dagger2によるAndroidアプリ設計こちらが圧倒的に分かりやすいのでご参考までに。

んでだ、鼻歌交じりに開発してみると、
ViewModelProvider.Factory cannot be provided without an @Provides-annotated method
って急に怒られ出したので、悪戦苦闘してプンスカして、解決したので怒りの投稿。
約4日ハマりました。

解決

kotlin_version = '1.3.30'

kotlin_version = '1.3.21'
以上。
参考
https://youtrack.jetbrains.com/issue/KT-30979

30のバグなのか、それとも記法ややり方が変わったのか、その情報に到達できなかったので暫定対応ではあります。
そもそも情報が少なすぎて探すのに手間取ったっていうのが最大の要因でしたとさ。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0