2015-04-07 53 views
2

在编写一个Android项目,我得到这个错误:com.google.inject.Key解决不了

The type com.google.inject.Key cannot be resolved. It is indirectly referenced from required .class files

这表明“ConfigureBuildPath”作为一个可能的解决方案,但我不确定这是什么意思以及如何做到这一点。我如何调试和修复这个错误?

回答

1

这意味着您没有构建项目所需的类路径上的所有内容。您需要将包含com.google.inject.Key的jar添加到构建路径。

+0

我该如何添加这个罐子? –