Skip to content

lib_common中引入aar #6

@yihu5566

Description

@yihu5566

我尝试在lib_common中引入aar包,报错如下:
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :lib_common project caused this error: /Users/dongfang/Documents/wms-develop-project/wms_pda/lib_common/libs/UHFJar_V1.4.0.aar

只有打release包的时候会报错,其他时候正常,包也引入成功 了。

尝试多种配置都没成功,大佬有解决的方案么?谢谢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions