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

ClassNotFoundException for MultipleArtifact.ALL_CLASSES_DIR with AGP 8.0.0-alpha09 #109

Closed
alexvanyo opened this issue Dec 1, 2022 · 5 comments · Fixed by #117
Closed
Labels
bug Something isn't working

Comments

@alexvanyo
Copy link
Contributor

Keeper version: 0.12.0

Steps to reproduce:

  1. Update AGP to 8.0.0-alpha09
  2. ./gradlew tasks

Expected result:

Keeper is initialized correctly

Actual result:

./gradlew tasks fails with java.lang.ClassNotFoundException for com.android.build.api.artifact.MultipleArtifact$ALL_CLASSES_DIR

Attachments:

ALL_CLASSES_DIR was recently removed, as per this commit: https://cs.android.com/android-studio/platform/tools/base/+/8e496713acce67efd36916dfc446333eb12ad4f3

@alexvanyo alexvanyo added the bug Something isn't working label Dec 1, 2022
@ZacSweers
Copy link
Collaborator

Thanks for the report, I'll take a look soon

@ZacSweers
Copy link
Collaborator

@alexvanyo see details here: #117 (comment). I've published an alpha release with support from that PR as well

@alexvanyo
Copy link
Contributor Author

Late reply, thank you! I was able to update to 0.14.0-alpha04 with AGP 8.0.0-rc01 and run tests with keeper.disableTestProguardFiles=true set to true as well.

As a heads up, it looks like 8.1.0 introduces another incompatible change, the latest there doesn't work with Keeper 0.14.0-alpha04.

@ZacSweers
Copy link
Collaborator

Lovely. Could you file a separate issue with a trace?

@alexvanyo
Copy link
Contributor Author

Reported #119 with the AGP 8.1.0 issue

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants