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

Unexpected type reference on method: 16 #356

Open
mrzbn opened this issue Sep 15, 2024 · 1 comment
Open

Unexpected type reference on method: 16 #356

mrzbn opened this issue Sep 15, 2024 · 1 comment

Comments

@mrzbn
Copy link

mrzbn commented Sep 15, 2024

I'm trying to setup apm agent in my android project and after a lot of struggle with other build errors, I face this error:Image

@LikeTheSalad
Copy link
Contributor

Hi @mrzbn

Thank you for your feedback. It seems like the issue you're running into is very similar, hence probably shares the same root cause, as this Byte Buddy one, which looks like will get fixed in Byte Buddy's next release. Now, even though it looks like it's the same issue, it would still be very helpful to get more details on your environment to make sure we're addressing this specific one, such as:

  • Elastic agent version.
  • Android gradle plugin version.
  • Full stacktrace of the compilation error.

I'll keep you posted on this issue once the new Byte Buddy version is released and we have it available on our agent. In the meantime, if you like you could still use our agent by manually installing it (without adding our gradle plugin, which is the one that relies on Byte Buddy) though the downside would be that there will no auto-instrumentation for OkHttp requests with that approach.

Regarding:

after a lot of struggle with other build errors

We're sorry to hear that, if you don't mind sharing more details on those build errors you had to address, we will make sure to improve our agent to make it easier to install in future versions.

Thank you for your patience.

@LikeTheSalad LikeTheSalad self-assigned this Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants