Meituan-Dianping / Robust

Robust is an Android HotFix solution with high compatibility and high stability. Robust can fix bugs immediately without a reboot.
Apache License 2.0
4.42k stars 807 forks source link

module中集成robust,编译不过 #200

Closed chenhui3014 closed 7 years ago

chenhui3014 commented 7 years ago

异常类型:编译异常

Robust版本:0.4.7

Gradle版本:2.10

系统:Mac

堆栈/日志: A problem occurred configuring project ':app'.

Failed to notify project evaluation listener. Transforms with scopes '[SUB_PROJECTS, SUB_PROJECTS_LOCAL_DEPS, EXTERNAL_LIBRARIES]' cannot be applied to library projects. Could not find property 'applicationVariants' on com.android.build.gradle.LibraryExtension_Decorated@6a5c2d2d.

Robust是不是不支持library 集成?

oubowu commented 7 years ago

是的 我做sdk想接入热更新就是这样 我的解决方法是library弄成application 然后我在打apk包完成的时候自己写脚本把对应资源文件 jar包自己做处理生成aar包

hedex commented 7 years ago

@chenhui3014 暂时可以像oubowu一样先处理一下哈

oubowu commented 7 years ago

大大以后出个支持library的吧@hedex

hedex commented 7 years ago

嗯,是的,感谢大家

2017年9月28日 12:07,"Ou Bowu" notifications@github.com写道:

大大以后出个支持library的吧@hedex https://github.com/hedex

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Meituan-Dianping/Robust/issues/200#issuecomment-332722217, or mute the thread https://github.com/notifications/unsubscribe-auth/AHgyAcA7v9kYj2S6OKiRhHrLw2j0qtebks5smxuFgaJpZM4PlgcO .