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

Merge layouts #44

Open
gpallas16 opened this issue Jul 14, 2019 · 0 comments
Open

Merge layouts #44

gpallas16 opened this issue Jul 14, 2019 · 0 comments

Comments

@gpallas16
Copy link

What are the steps to reproduce this issue?

  1. Create project A and add some layouts
  2. Import project A's aar to project B. All layouts from project A are accessible as expected.
  3. Create fat aar with project A and project B
  4. Import fat aar to project C. The layouts from project A are not accessible and app crashes if some class from project B uses a layout from project A (which was working normally before the fat aar) . All project B layouts are accessible.

What happens?
The layout files are in .aar/class.jar/res/layout and not in .aar/layout. The R file from project A is missing too. I use minifyEnabled true with no shrinking and no optimizations. I am relatively new to aar so I dont know if this is a bug or I m missing something. Any advice would be nice!

I use gradle 3.2.0 and fat-aar version 2.0.2

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