Android的引导MVN清洁套装错误 [英] Android-Bootstrap mvn clean package error

查看:124
本文介绍了Android的引导MVN清洁套装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用android引导: https://github.com/donnfelker/android-引导

我克隆code.but时
所以我尝试下命令从应用程序目录:

  MVN清洁套装

但得到的东西是错误的。

项目Android的引导编译(默认编译):

  [错误]未能执行目标org.apache.maven.plugins:Maven的编译器插件:2.3.2编译失败:编译失败:
[错误] \\Users\\keepcleargas\\android-bootstrap\\app\\src\\main\\java\\com\\donnfelker\\android\\bootstrap\\BootstrapModule.java:[33,8]错误:无法找到符号
[错误] \\Users\\keepcleargas\\android-bootstrap\\app\\src\\main\\java\\com\\donnfelker\\android\\bootstrap\\BootstrapModule.java:[33,22]错误:其中;没有>初始化程序是违法的。

无法识别符号入口点。

  @Module

        完整=假,        入口点= {
                BootstrapApplication.class,
                BootstrapAuthenticatorActivity.class,
                CarouselActivity.class,
                BootstrapTimerActivity.class,
                CheckInsListFragment.class,
                NewsActivity.class,
                NewsListFragment.class,
                UserActivity.class,
                UserListFragment.class,
                TimerService.class
        })


解决方案

符号入口点已更名为为内喷射

在这里看到讨论: https://github.com/donnfelker/android-bootstrap/问题/ 44

I'm trying to use the android bootstrap : https://github.com/donnfelker/android-bootstrap.

I clone the code.but when So i try the next command from the app directory :

mvn clean package

but get Something wrong.

    [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.

can't recognize the symbol '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
        }

)

解决方案

The symbol entryPoints has been renamed to to injects.

See discussion here: https://github.com/donnfelker/android-bootstrap/issues/44

这篇关于Android的引导MVN清洁套装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆