美文网首页
AndroidStudio 使用gradle依赖过程出现的问题

AndroidStudio 使用gradle依赖过程出现的问题

作者: 拉贝 | 来源:发表于2017-10-28 08:30 被阅读533次

    现象

    Error:(75, 1) A problem occurred evaluating project ‘:common’.

    Cannot convert a null value to an object of type Dependency.

    The following types/formats are supported:

    Instances of Dependency.

    String or CharSequence values, for example ‘org.gradle:gradle-core:1.0’.

    Maps, for example [group: ‘org.gradle’, name: ‘gradle-core’, version: ‘1.0’].

    FileCollections, for example files(‘some.jar’, ‘someOther.jar’).

    Projects, for example project(‘:some:project:path’).

    ClassPathNotation, for example gradleApi().

    Comprehensive documentation on dependency notations is available in DSL reference for DependencyHandler type.

    原因

    总的gradle删掉了 依赖 但是模块里面还在依赖 导致编译报错

    相关文章

      网友评论

          本文标题:AndroidStudio 使用gradle依赖过程出现的问题

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