René's URL Explorer Experiment


Title: Misleading error NoSuchMethodError: No virtual method addIntegrationToSdkVersion()V in class Lio/sentry/android/fragment/FragmentLifecycleIntegration · Issue #3847 · getsentry/sentry-java · GitHub

Open Graph Title: Misleading error NoSuchMethodError: No virtual method addIntegrationToSdkVersion()V in class Lio/sentry/android/fragment/FragmentLifecycleIntegration · Issue #3847 · getsentry/sentry-java

X Title: Misleading error NoSuchMethodError: No virtual method addIntegrationToSdkVersion()V in class Lio/sentry/android/fragment/FragmentLifecycleIntegration · Issue #3847 · getsentry/sentry-java

Description: Integration sentry-android Build System Gradle AGP Version 8.7.2 Proguard Enabled Version 7.16.0 Steps to Reproduce Update Sentry version without updating Sentry android plugin Run the app The setup: [versions] sentry-io = "7.16.0" sentr...

Open Graph Description: Integration sentry-android Build System Gradle AGP Version 8.7.2 Proguard Enabled Version 7.16.0 Steps to Reproduce Update Sentry version without updating Sentry android plugin Run the app The setu...

X Description: Integration sentry-android Build System Gradle AGP Version 8.7.2 Proguard Enabled Version 7.16.0 Steps to Reproduce Update Sentry version without updating Sentry android plugin Run the app The setu...

Opengraph URL: https://github.com/getsentry/sentry-java/issues/3847

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Misleading error NoSuchMethodError: No virtual method addIntegrationToSdkVersion()V in class Lio/sentry/android/fragment/FragmentLifecycleIntegration","articleBody":"### Integration\n\nsentry-android\n\n### Build System\n\nGradle\n\n### AGP Version\n\n8.7.2\n\n### Proguard\n\nEnabled\n\n### Version\n\n7.16.0\n\n### Steps to Reproduce\n\n1. Update Sentry version without updating Sentry android plugin\n2. Run the app\n\nThe setup:\n```\n[versions]\nsentry-io = \"7.16.0\"\nsentry-io-plugin = \"3.5.0\" # instead of last 4.13.0\n\n[libraries]\nsentry-io-android = { module = \"io.sentry:sentry-android\", version.ref = \"sentry-io\" }\nsentry-io-timber = { module = \"io.sentry:sentry-android-timber\", version.ref = \"sentry-io\" }\n\n[plugins]\nsentry-io = { id = \"io.sentry.android.gradle\", version.ref = \"sentry-io-plugin\" }\n```\n\nConfigure sentry in the Android Application\n```\n\n    SentryAndroid.init(applicationContext) { options ->\n        options.addIntegration(\n            SentryTimberIntegration(\n                minEventLevel = SentryLevel.ERROR,\n            ),\n        )\n        options.isDebug = isDebug\n        options.environment = environment\n    }\n```\n\nAdd configuration in the manifest:\n```\n        \u003c!-- Required: set your sentry.io project identifier (DSN) -->\n        \u003cmeta-data\n            android:name=\"io.sentry.dsn\"\n            android:value=\"https://[redacted].ingest.sentry.io/[redacted]\" />\n\n        \u003c!-- enable automatic breadcrumbs for user interactions (clicks, swipes, scrolls) -->\n        \u003cmeta-data\n            android:name=\"io.sentry.traces.user-interaction.enable\"\n            android:value=\"true\" />\n        \u003c!-- enable screenshot for crashes -->\n        \u003cmeta-data\n            android:name=\"io.sentry.attach-screenshot\"\n            android:value=\"true\" />\n        \u003c!-- enable view hierarchy for crashes -->\n        \u003cmeta-data\n            android:name=\"io.sentry.attach-view-hierarchy\"\n            android:value=\"true\" />\n\n        \u003c!-- enable the performance API by setting a sample-rate, adjust in production env -->\n        \u003cmeta-data\n            android:name=\"io.sentry.traces.sample-rate\"\n            android:value=\"1.0\" />\n        \u003c!-- enable profiling when starting transactions, adjust in production env -->\n        \u003cmeta-data\n            android:name=\"io.sentry.traces.profiling.sample-rate\"\n            android:value=\"1.0\" />\n```\n\nAdd the sentry.properties file\n```\ndefaults.project=[redacted]\ndefaults.org=[redacted]\n```\n\nRun the app\n\n\n\nadditional information: it used to work, I bumped up libraries versions and got this issue.\n\nThese are the relevant changes:\n\n- Target SDK 34 -> 35\n- AGP 8.4.1 -> 8.7.2\n- Sentry version 6.17.0 -> 7.16.0\n- Sentry Gradle plugin version: 3.5.0 -> 3.5.0 (not changed)\n\n### Expected Result\n\nEither the app starts or the error mention incompatible plugin version.\n\n### Actual Result\n\nThe app crashes with an error that has nothing pointing to the plugin incompatibility being an issue\n\n```\njava.lang.NoSuchMethodError: No virtual method addIntegrationToSdkVersion()V in class Lio/sentry/android/fragment/FragmentLifecycleIntegration; or its super classes (declaration of 'io.sentry.android.fragment.FragmentLifecycleIntegration' appears in /data/app/~~ftLzJZBpcPqu7RoxikSkZw==/com.solongevity.app.dev.debug-dGWYg34RfMvRqAi4gFx4Og==/base.apk!classes13.dex)\n    at io.sentry.android.fragment.FragmentLifecycleIntegration.register(FragmentLifecycleIntegration.kt:51)\n    at io.sentry.Sentry.init(Sentry.java:271)\n    at io.sentry.Sentry.init(Sentry.java:167)\n    at io.sentry.android.core.SentryAndroid.init(SentryAndroid.java:93)\n    at io.sentry.android.core.SentryAndroid.init(SentryAndroid.java:64)\n    at io.sentry.android.core.SentryInitProvider.onCreate(SentryInitProvider.java:25)\n    at android.content.ContentProvider.attachInfo(ContentProvider.java:2451)\n    at android.content.ContentProvider.attachInfo(ContentProvider.java:2421)\n    at io.sentry.android.core.SentryInitProvider.attachInfo(SentryInitProvider.java:43)\n    at android.app.ActivityThread.installProvider(ActivityThread.java:7488)\n    at android.app.ActivityThread.installContentProviders(ActivityThread.java:6999)\n    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6770)\n    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)\n    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2134)\n    at android.os.Handler.dispatchMessage(Handler.java:106)\n    at android.os.Looper.loopOnce(Looper.java:201)\n    at android.os.Looper.loop(Looper.java:288)\n    at android.app.ActivityThread.main(ActivityThread.java:7898)\n    at java.lang.reflect.Method.invoke(Native Method)\n    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)\n    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)\n```\n","author":{"url":"https://github.com/danielesegato","@type":"Person","name":"danielesegato"},"datePublished":"2024-11-05T10:59:38Z","url":"https://github.com/getsentry/sentry-java/issues/3847"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e22dcb95-2c79-65c8-00c4-091b29838142
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9FAC:29CA94:BBB38:107B25:6B046366
html-safe-nonce8af9f00f89e2a64cac42e6223dd2ce037ac1e01a12ec555ae2a4563b5b27a792
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkFDOjI5Q0E5NDpCQkIzODoxMDdCMjU6NkIwNDYzNjYiLCJ2aXNpdG9yX2lkIjoiNDQxMjU4MTg4OTExNDkyMzg3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca48454b9d57f7b74f0d7ac6ea9f28b261e36445f9a2899aaf60e97176dc4d048
hovercard-subject-tagissue:2635127121
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/3847/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a5930560a712d338926c58f82aeb9e53322631e18b42dac22ce7e7d2d3776cf6/getsentry/sentry-java/issues/3847
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a5930560a712d338926c58f82aeb9e53322631e18b42dac22ce7e7d2d3776cf6/getsentry/sentry-java/issues/3847
og:image:altIntegration sentry-android Build System Gradle AGP Version 8.7.2 Proguard Enabled Version 7.16.0 Steps to Reproduce Update Sentry version without updating Sentry android plugin Run the app The setu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedanielesegato
hostnamegithub.com
expected-hostnamegithub.com
None2d58451b4bcb73c33c67bfb6b28fb75fe6d5e279daf9b560fa4fd832f3d8c9a6
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3368190
octolytics-dimension-repository_nwogetsentry/sentry-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3368190
octolytics-dimension-repository_network_root_nwogetsentry/sentry-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release03e114520787ad27289207f153520ef97461127c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-java/issues/3847#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fissues%2F3847
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fissues%2F3847
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-java
Reloadhttps://github.com/getsentry/sentry-java/issues/3847
Reloadhttps://github.com/getsentry/sentry-java/issues/3847
Reloadhttps://github.com/getsentry/sentry-java/issues/3847
getsentryhttps://github.com/getsentry
sentry-javahttps://github.com/getsentry/sentry-java
Codehttps://github.com/getsentry/sentry-java
Issues266 (266)https://github.com/getsentry/sentry-java/issues
Pull requests57 (57)https://github.com/getsentry/sentry-java/pulls
Discussionshttps://github.com/getsentry/sentry-java/discussions
Actionshttps://github.com/getsentry/sentry-java/actions
Projectshttps://github.com/getsentry/sentry-java/projects
Security and quality2 (2)https://github.com/getsentry/sentry-java/security
Insightshttps://github.com/getsentry/sentry-java/insights
https://github.com/getsentry/sentry-java
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-java/issues/3847
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-java/issues/3847
Misleading error NoSuchMethodError: No virtual method addIntegrationToSdkVersion()V in class Lio/sentry/android/fragment/FragmentLifecycleIntegrationhttps://github.com/getsentry/sentry-java/issues/3847#top
BugIssue typehttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Bug%22
https://github.com/danielesegato
danielesegatohttps://github.com/danielesegato
on Nov 5, 2024https://github.com/getsentry/sentry-java/issues/3847#issue-2635127121
danielesegatohttps://github.com/danielesegato
Platform: Androidhttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Platform%3A%20Android%22
Type: Bughttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Type%3A%20Bug%22
on Nov 5, 2024https://github.com/getsentry/sentry-java/issues/3847#event-15117877887
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Nov 5, 2024https://github.com/getsentry/sentry-java/issues/3847#event-15117878761
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Nov 5, 2024https://github.com/getsentry/sentry-java/issues/3847#event-15117879809
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Nov 5, 2024https://github.com/getsentry/sentry-java/issues/3847
github-actionshttps://github.com/apps/github-actions
Platform: Javahttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Platform%3A%20Java%22
on Nov 5, 2024https://github.com/getsentry/sentry-java/issues/3847#event-15117881272
https://github.com/markushi
markushihttps://github.com/markushi
on Nov 6, 2024https://github.com/getsentry/sentry-java/issues/3847#issuecomment-2459967721
@danielesegatohttps://github.com/danielesegato
https://github.com/getsentry/sentry-java/releases/tag/7.16.0https://github.com/getsentry/sentry-java/releases/tag/7.16.0
markushihttps://github.com/markushi
completedhttps://github.com/getsentry/sentry-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 6, 2024https://github.com/getsentry/sentry-java/issues/3847#event-15151695592
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Nov 6, 2024https://github.com/getsentry/sentry-java/issues/3847#event-15151696443
https://github.com/matinzd
matinzdhttps://github.com/matinzd
on Nov 20, 2024https://github.com/getsentry/sentry-java/issues/3847#issuecomment-2488416632
https://github.com/getsentry/sentry-java/blob/main/sentry-android-okhttp/src/main/java/io/sentry/android/okhttp/SentryOkHttpInterceptor.kt#L57https://github.com/getsentry/sentry-java/blob/main/sentry-android-okhttp/src/main/java/io/sentry/android/okhttp/SentryOkHttpInterceptor.kt#L57
https://github.com/romtsn
romtsnhttps://github.com/romtsn
on Nov 20, 2024https://github.com/getsentry/sentry-java/issues/3847#issuecomment-2488499395
@matinzdhttps://github.com/matinzd
https://github.com/matinzd
matinzdhttps://github.com/matinzd
on Nov 20, 2024https://github.com/getsentry/sentry-java/issues/3847#issuecomment-2488611798
BugIssue typehttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Bug%22
on Aug 12, 2025https://github.com/getsentry/sentry-java/issues/3847#event-19124417275
scalable-kshttps://github.com/scalable-ks
on Jan 19, 2026https://github.com/getsentry/sentry-java/issues/3847#event-22141481882
Add official Sentry version pinning via autoInstallationhttps://github.com/scalable-ks/m3u8_downloader/commit/5dd0d60e6dca713f66b9fa3a1f0352ca39f1828a
5dd0d60https://github.com/scalable-ks/m3u8_downloader/commit/5dd0d60e6dca713f66b9fa3a1f0352ca39f1828a
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-java/issues/3847
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-java/issues/3847
BugIssue typehttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Bug%22
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.