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

Auto-Installation is broken on AGP 7.2.0 #342

Closed
romtsn opened this issue Jul 5, 2022 · 4 comments
Closed

Auto-Installation is broken on AGP 7.2.0 #342

romtsn opened this issue Jul 5, 2022 · 4 comments
Assignees
Labels
bug Something isn't working Platform: Android

Comments

@romtsn
Copy link
Member

romtsn commented Jul 5, 2022

Gradle Version

7.4

AGP Version

7.2.0

Code Minifier/Optimizer

No response

Version

3.1.2

Sentry SDK Version

6.1.0

Steps to Reproduce

IDE is failing to sync when using our Plugin with Auto-Install enabled and AGP 7.2.0. This is an issue on the AGP side, which was fixed on 7.2.1 and caused by circular dependencies on POM files (that's what we do in order to achieve auto-installation).
https://issuetracker.google.com/issues/232075280

Expected Result

Should sync successfully

Actual Result

IDE Sync fails

@romtsn romtsn added bug Something isn't working Platform: Android labels Jul 5, 2022
@bruno-garcia
Copy link
Member

@romtsn sounds like all we need here is an entry in our troubleshooting page?

@romtsn
Copy link
Member Author

romtsn commented Jul 5, 2022

@bruno-garcia Yeah or we disable the auto-installation for 7.2.0 and warn the user?

The proper fix for this would be: we switch to compileOnly dependencies in our integrations - this way we wouldn't have a circular dependency on the POM file, and the issue wouldn't exist. But I guess as an intermediate step we can just have a troubleshooting page until we properly fix it.

@bruno-garcia
Copy link
Member

@bruno-garcia Yeah or we disable the auto-installation for 7.2.0 and warn the user?

Definitely, if that works, good idea.

@romtsn romtsn self-assigned this Jul 15, 2022
@romtsn
Copy link
Member Author

romtsn commented Jul 19, 2022

Fixed by #357

@romtsn romtsn closed this as completed Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Platform: Android
Projects
Archived in project
Development

No branches or pull requests

2 participants