1

我很幸运能够负责维护由其他人开发的程序,并且在导入语句时遇到以下问题:

import com.fizzbuzz.android.dagger.InjectingDialogFragment;

Android Studio 无法解决的问题。我对匕首完全陌生...

我在 build.gradle 依赖项中有以下内容:

compile 'com.fizz-buzz:fb-android-dagger:1.0.1'
compile 'com.fizz-buzz:fb-android-bluetooth:1.0.3'
4

1 回答 1

1

InjectingDialogFragment 在您当前使用的版本中不可用。请改用 compile 'com.fizz-buzz:fb-android-dagger:1.0.3'

为了更好地了解 Dagger 的工作原理,您可以使用此博客http://antonioleiva.com/dagger-android-part-2/

于 2015-05-07T15:13:26.607 回答