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

CC添加Tinker热修复在使用修复包后无法打开组件 #37

Closed
cnkind opened this issue Jul 31, 2018 · 1 comment
Closed

CC添加Tinker热修复在使用修复包后无法打开组件 #37

cnkind opened this issue Jul 31, 2018 · 1 comment

Comments

@cnkind
Copy link

cnkind commented Jul 31, 2018

CC添加Tinker热修复,在使用修复包后无法打开组件提示CCResult结果提示:{"success":false,"code":-5}

@luckybilly
Copy link
Owner

可以先下载cc-settings.gradle到本地进行依赖,再将其中的一行代码进行如下替换:
将正则表达式:

def regex = "((.*:)?${project.name.toUpperCase()}:)?((ASSEMBLE)|(INSTALL)).*"

替换成:

def regex = "((.*:)?${project.name.toUpperCase()}:)?((ASSEMBLE)|(INSTALL)|((BUILD)?TINKER)).*"

即可。

在后续的版本中我会更新到github上来。

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

2 participants