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

Robust support modular application? #463

Open
lukaskris opened this issue Aug 14, 2021 · 1 comment
Open

Robust support modular application? #463

lukaskris opened this issue Aug 14, 2021 · 1 comment

Comments

@lukaskris
Copy link

Hi, i have problem, currently my apps have mutli module

ex:
1 App, login module, home module

i want hotfix at home module,
i follow apply autopatchplugin at build.gradle module home and try generate jar and show

Caused by: com.android.builder.errors.EvalIssueException: Transforms with scopes '[SUB_PROJECTS, EXTERNAL_LIBRARIES]' cannot be applied to library projects.

anyone face this issue?

@FlyMantou
Copy link

modify source class AutoPatchTransform.groovy`s method getScopes return TransformManager.PROJECT_ONLY, and if your library has other dependence,you should add the jars to classpath

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