美文网首页
iosched2017编译问题

iosched2017编译问题

作者: 唐小余 | 来源:发表于2018-05-09 17:50 被阅读0次

问题描述

编译过程中出现编译不通过的情况,提示如下示例的错误信息

server/build/generated-source/endpoints/java/com/google/samples/apps/iosched/rpc/userdata/Userdata.java:1615:
error: method does not override or implement a method from a supertype
    @Override
    ^

问题的解决方案

文件目录iosched\server\的build.gradle文件的endpoints区域中增加说明:googleClientVersion = '1.23.0'
代码示例

endpoints {
        getClientLibsOnBuild = true
        getDiscoveryDocsOnBuild = true
        installClientLibsOnBuild = true
        googleClientVersion = '1.23.0'
        // Use this field to set the output directory of Endpoints client library jars. This is used
        // together with the appengineEndpointsExportClientLibs task.
        // clientLibJarOut = new File('PATH_TO_OUTPUT_DIRECTORY')
    }

问题原因推测(未证实)

推测是SDK版本的依赖问题,通过配置项解决编译过程的依赖项。
目前还未证实,后续花时间再看。

相关文章

  • iosched2017编译问题

    问题描述 编译过程中出现编译不通过的情况,提示如下示例的错误信息 问题的解决方案 文件目录iosched\serv...

  • 编译问题

    -Werror,-Wnon-modular-include-in-framework-module原因 修改bui...

  • 编译问题

    问题:configure error: Could not link against boost_system./...

  • AS 编译问题

    Android SDK Build Tools 26.0.2 will be used 检查 app/build....

  • 编译问题

    1.idea直接运行时 都是配置好的encoding编码所以控制台不乱码 2.idea里用maven编译时默认用的...

  • 编译问题

    错误信息: 原因:依赖库地址输入错误修正:

  • Ubuntu 16.04 编译 Android 5.1

    环境准备 安装JDK-7 安装编译依赖 执行编译 按照官方教程执行编译,出现下面的问题: 编译问题 unsuppo...

  • 训练中的问题与解决

    一 caffe 编译问题 集合 编译caffe protobuf 未定义应用问题,是protobuf库冲突的问题...

  • Studio编译Lint found fatal errors

    问题描述 在使用studio编译release版本时,遇到了下面的问题【编译debug问题不会遇到】: Lint ...

  • 分享1期【性能相关】

    目录 编译速度 内存问题 cpu占用问题 一、编译速度 1、Build Options - debug infor...

网友评论

      本文标题:iosched2017编译问题

      本文链接:https://www.haomeiwen.com/subject/inzdrftx.html