Small icon indicating copy to clipboard operation
Small copied to clipboard

宿主中引用AAR编译报错

Open AnBetter opened this issue 8 years ago • 1 comments

  • [x] 我已阅读并理解 贡献指南,严格遵循其约定。

错误报告

你做了什么?

使用Small改造旧工程,宿主中包含了AAR 使用compile(...)...引用,运行gradlew buildLib 编译失败。

你期望的结果是什么?

Small能够正确编译,并正确运行。

实际结果是什么?

Small发生编译报错,报错信息如下:

  • What went wrong: A problem occurred configuring project ':app'.

Failed to parse aar module from D:\MySmall\aars\UpdateSdk_release_V2.0.0.301.aar

Small环境

Compile-time

small { aarVersion = '1.2.0-alpha6' buildToAssets = false android { compileSdkVersion = 25 buildToolsVersion = "25.0.2" supportVersion = "25.1.0" } }

Bundles

Runtime

  Device : Samsung Nexus S
     SDK : Android 7.0
     ABI : armeabi-v7a

AnBetter avatar Jul 03 '17 09:07 AnBetter

@AnBetter 我也遇到了同一样的问题,请问你解决了吗?

bovyoung avatar Jan 25 '19 07:01 bovyoung