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

meta: tackle all those Gradle/AGP bugs and annoyances #193

Open
atsushieno opened this issue Jan 30, 2024 · 1 comment
Open

meta: tackle all those Gradle/AGP bugs and annoyances #193

atsushieno opened this issue Jan 30, 2024 · 1 comment

Comments

@atsushieno
Copy link
Owner

atsushieno commented Jan 30, 2024

Currently the biggest problem that has been blocking AAP development most is Gradle and AGP, and since their problems.

(1) Under some condition, AGP fails to expand Prefab package content native libraries and dependent modules fail to build at externalNativeBuild due to lack of necessary -l xxx arguments (they are missing at arguments level, meaning that Prefab extraction did not happen in timely manner or it is not extracted at all). This can be workarounded by git clean -xdf within aap-core (or aap-lv2-xxx apps or aap-juce-xxx apps or whatever), which is of course super annoying as it prevents normal development cycle.

Clean builds pass as they do on GitHub Actions, but it is the reason why we cannot build external/aap-core in aap-lv2 or any aap-lv2 projects (same goes for aap-juce) in their Makefile (along with (2) it is seem as trivial issue).

(2) #174: this is the second most annoying one. Out AAR distribution is not useful because those modules that were built as part of the app project are the only working ones. It forces us to mess build scripts, especially those with Projucer became almost impossible to build (needs some build script tweaks).

This is the primary reason why we cannot release v0.8.0.

(3) Android Studio fails to update native libraries when debugging unless "Always install with package manager" option is enabled at its configuration option (at "Installation Options"). It may be Android Studio specific issue and not Gradle related issue though.

What we need is some build related Troubleshooting wiki page that specifically targets these Gradle problems.

@atsushieno
Copy link
Owner Author

(2) is finally fixed, and it had nothing to do with AGP (well, it has a lot, but AGP itself was not the cause).

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