Skip to content

pub.dev引用依赖方式不可用 #5

@imagination24

Description

@imagination24

各位注意,在经过实践后发现,在pubspec.yaml中引用anythink_sdk:1.0.3的方式不可用,因为pub的拉取anythink_sdk包中直接包含了aar模块,因为本身FlutterPlugin也会构建成AAR,而构建AAR时不支持引用本地AAR,本地的AAR不会被包含在构建的AAR中,这直接导致了Plugin的崩溃。目前唯一可用的引用方式是手动下载压缩包,并在AndroidSDK处生成引用代码加在gradle中。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions