Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildBundle的时候解析AAR module失败 #599

Open
kingcxsc opened this issue Jan 4, 2019 · 0 comments
Open

buildBundle的时候解析AAR module失败 #599

kingcxsc opened this issue Jan 4, 2019 · 0 comments

Comments

@kingcxsc
Copy link

kingcxsc commented Jan 4, 2019

错误报告

你做了什么?

在子模块的gradle中添加了一条远程依赖 compile 'cn.yipianfengye.android:zxing-library:2.2'

你期望的结果是什么?

按照small的编译步骤可以正常编译成功,并引用依赖的功能

实际结果是什么?

在buildBundle过程中 出现以下错误:
Error:Execution failed for task ':app.main:transformClassesWithSmallStrippedForRelease'.

Failed to parse aar module from E:\LLThreeInOne\ThreeInOne\app.main\build\intermediates\exploded-aar\cn.yipianfengye.android\zxing-library\2.2\jars\libs\core_3.0.1.jar

Small环境

small {
aarVersion = '1.5.0-beta2'
buildToAssets = false
strictSplitResources = false
}
##项目编译环境
compileSdkVersion 26
buildToolsVersion "26.0.1"

aaptOptions {
cruncherEnabled = false
useNewCruncher = false
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant