gpt4 book ai didi

android - "@aar"在 gradle 'compile' 任务中是什么意思

转载 作者:IT老高 更新时间:2023-10-28 21:59:33 25 4
gpt4 key购买 nike

我是 gradle 新手,找不到有关此功能的任何文档。

我注意到的是compile 'com.github.asne:asne-vk:0.2.1' 导致了一些明显的合并问题(一些在不同的 minSdkVersions 上出现问题)并且 compile 'com.github.asne:asne- vk:0.2.1@aar' 工作正常。

最佳答案

AAR 格式

is the binary distribution of an Android Library Project.

如所述here in the official Android Tools documentation .

在您的情况下,在 Android Gradle 项目中添加编译依赖项时,添加“@aar”意味着您想要获取 @aar 文件而不是常规 JAR 文件。

关于android - "@aar"在 gradle 'compile' 任务中是什么意思,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26250790/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com