Android-Bootstrap mvn clean包错误

时间:2013-05-06 15:23:08

标签: android dagger

我正在尝试使用android bootstrap:https://github.com/donnfelker/android-bootstrap

我克隆代码。但是什么时候 所以我从app目录中尝试下一个命令:

mvn clean package

但是出了点问题。

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project android-bootstrap: Compilation failure: Compilation failure:
[ERROR] \Users\keepcleargas\android-bootstrap\app\src\main\java\com\donnfelker\android\bootstrap\BootstrapModule.java:[33,8] Error: can not find symbol
[ERROR] \Users\keepcleargas\android-bootstrap\app\src\main\java\com\donnfelker\android\bootstrap\BootstrapModule.java:[33,22] The error: <none> initialization procedure is illegal.

无法识别符号'entryPoints'。

@Module
(
        complete = false,

        entryPoints= {
                BootstrapApplication.class,
                BootstrapAuthenticatorActivity.class,
                CarouselActivity.class,
                BootstrapTimerActivity.class,
                CheckInsListFragment.class,
                NewsActivity.class,
                NewsListFragment.class,
                UserActivity.class,
                UserListFragment.class,
                TimerService.class
        }

)

1 个答案:

答案 0 :(得分:1)

符号entryPoints已重命名为injects

请参阅此处的讨论:https://github.com/donnfelker/android-bootstrap/issues/44