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

Fix java.lang.NoClassDefFoundError: Failed resolution of: Lorg/jacoco/agent/rt/internal_8ff85ea/Offline #762

Merged
merged 2 commits into from
Oct 8, 2021

Conversation

zihejia
Copy link
Collaborator

@zihejia zihejia commented Oct 8, 2021

address #761

@zihejia zihejia added the bug label Oct 8, 2021
@zihejia zihejia changed the title Fix build runtime error Fix java.lang.NoClassDefFoundError: Failed resolution of: Lorg/jacoco/agent/rt/internal_8ff85ea/Offline Oct 8, 2021
@zihejia zihejia merged commit 55e6c2c into master Oct 8, 2021
@alryan-dev
Copy link

I experiencing this problem now in Flutter. How to apply this in Flutter?

@zihejia
Copy link
Collaborator Author

zihejia commented Oct 9, 2021

hi @alryan-dev , you can try updating to the latest Mixpanel Flutter version 1.3.1. You current version should also work if you clear all the cache and redownload all dependencies.

@alryan-dev
Copy link

The problem still persists. I've tried invalidate caches and restart, flutter clean and removing the mixpanel dependency (^1.0.0) and downloaded it again but the error is still there. I don't want to upgrade to 1.3.1 yet because our app still not migrated to null-safety

@zihejia
Copy link
Collaborator Author

zihejia commented Oct 9, 2021

hi @alryan-dev , our 1.3.1 should be able to work with the null-safety project, it's backward compatible. Speaking of caches, you might try deleting the directory related to mixpanel android sdk in your .m2(if you are using mac):
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants