発生した問題
Dagger2 を導入したいが下記のエラーがでて、うまくいかない
どうやら AndroidInjection.inject(this)
でエラーが発生している模様
java.lang.RuntimeException: android.app.Application does not implement dagger.android.HasAndroidInjector
解決策
Manifest に Application クラスを継承したクラスを書いていなかったのが問題
App クラスを追加したら解決した。
AndroidManifest
<application
android:name=".App"
github
https://github.com/higuuu/higuuu-github-api/commit/bdca6867948e4dbacc02f346358a1a48394c0d2d