René's URL Explorer Experiment


Title: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/nio/file/Paths; When running on Android 7.0.0 · Issue #232 · dnsjava/dnsjava · GitHub

Open Graph Title: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/nio/file/Paths; When running on Android 7.0.0 · Issue #232 · dnsjava/dnsjava

X Title: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/nio/file/Paths; When running on Android 7.0.0 · Issue #232 · dnsjava/dnsjava

Description: I am getting this error when trying to run it on Android Nougat(API 24). compileSdkVersion 30 buildToolsVersion '28.0.3' defaultConfig { minSdkVersion 21 targetSdkVersion 30 multiDexEnabled true } I am trying to update the library but Pa...

Open Graph Description: I am getting this error when trying to run it on Android Nougat(API 24). compileSdkVersion 30 buildToolsVersion '28.0.3' defaultConfig { minSdkVersion 21 targetSdkVersion 30 multiDexEnabled true } ...

X Description: I am getting this error when trying to run it on Android Nougat(API 24). compileSdkVersion 30 buildToolsVersion '28.0.3' defaultConfig { minSdkVersion 21 targetSdkVersion 30 multiDexEnabled...

Opengraph URL: https://github.com/dnsjava/dnsjava/issues/232

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"java.lang.NoClassDefFoundError: Failed resolution of: Ljava/nio/file/Paths; When running on Android 7.0.0","articleBody":"I am getting this error when trying to run it on Android Nougat(API 24).\r\n\r\n```\r\ncompileSdkVersion 30\r\n    buildToolsVersion '28.0.3'\r\n    defaultConfig {\r\n        minSdkVersion 21\r\n        targetSdkVersion 30\r\n        multiDexEnabled true\r\n    }\r\n```\r\n\r\nI am trying to update the library but Paths is introduced in API 26+ I think.\r\n\r\nBefore this error, I was getting \r\n\r\n`java.lang.NoClassDefFoundError: Failed resolution of: Ljava/time/Duration;`\r\n\r\nthis error which I resolved using desugaring API provided by Android\r\n\r\nNow, I am getting this.\r\n\r\nI cannot update the minSDKversion to 26 now so should I be using the older version of this API?\r\n\r\n\r\n```\r\njava.lang.NoClassDefFoundError: Failed resolution of: Ljava/nio/file/Paths;\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat org.xbill.DNS.hosts.HostsFileParser.\u003cinit>(HostsFileParser.java:50)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat org.xbill.DNS.Lookup.refreshDefault(Lookup.java:107)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat org.xbill.DNS.Lookup.\u003cclinit>(Lookup.java:111)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat org.xbill.DNS.Lookup.getDefaultResolver(Lookup.java)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat com.khaalijeb.inkdrops.Networking.NetworkingUtils.EasyDns.init(EasyDns.java:60)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat com.khaalijeb.inkdrops.Networking.NetworkingUtils.EasyDns.lookup(EasyDns.java:32)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:185)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.java:149)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.connection.RouteSelector.next(RouteSelector.java:84)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:214)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat com.khaalijeb.inkdrops.SSLClass$1.intercept(SSLClass.java:338)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.RealCall$AsyncCall.execute(RealCall.java:200)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat java.lang.Thread.run(Thread.java:760)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): Caused by: java.lang.ClassNotFoundException: Didn't find class \"java.nio.file.Paths\" on path: DexPathList[[zip file \"/data/app/com.khaalijeb.inkdrops.debug-1/base.apk\"],nativeLibraryDirectories=[/data/app/com.khaalijeb.inkdrops.debug-1/lib/arm64, /data/app/com.khaalijeb.inkdrops.debug-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat java.lang.ClassLoader.loadClass(ClassLoader.java:380)\r\n11-08 23:39:37.682 E/AndroidRuntime( 9298): \tat java.lang.ClassLoader.loadClass(ClassLoader.java:312)**\r\n```\r\n\r\nPlease suggest me a way to update the library and work it on the device below API 26.\r\n\r\nThanks for your time.","author":{"url":"https://github.com/i-m-aman","@type":"Person","name":"i-m-aman"},"datePublished":"2021-11-08T18:19:02Z","url":"https://github.com/dnsjava/dnsjava/issues/232"}

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:701a2938-2c0f-7142-d22c-afc96d6c9484
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDBEA:3CB261:938FB:C347F:6B060681
html-safe-noncee58af323349d8f0c4805d1b9c0a3b93fc79c7ceda418581bcd8bbc3089589e41
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkVBOjNDQjI2MTo5MzhGQjpDMzQ3Rjo2QjA2MDY4MSIsInZpc2l0b3JfaWQiOiI4NTg1MDE5Njg2NjI1MDg1MDU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace60c3efa87cb730442a641ba94e53952c3a8be1dfd6c3f6595121e8b724f688c
hovercard-subject-tagissue:1047764872
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/dnsjava/dnsjava/232/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0d08344020424e65dd1a52ad5bc16dbde2bd5783e56868050cc52d417b9fc72f/dnsjava/dnsjava/issues/232
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0d08344020424e65dd1a52ad5bc16dbde2bd5783e56868050cc52d417b9fc72f/dnsjava/dnsjava/issues/232
og:image:altI am getting this error when trying to run it on Android Nougat(API 24). compileSdkVersion 30 buildToolsVersion '28.0.3' defaultConfig { minSdkVersion 21 targetSdkVersion 30 multiDexEnabled true } ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamei-m-aman
hostnamegithub.com
expected-hostnamegithub.com
None47127d2f2009e000f3401193f8b4163109ac669adad0804de1ee0e6333ca7b9e
turbo-cache-controlno-preview
go-importgithub.com/dnsjava/dnsjava git https://github.com/dnsjava/dnsjava.git
octolytics-dimension-user_id6755615
octolytics-dimension-user_logindnsjava
octolytics-dimension-repository_id17084567
octolytics-dimension-repository_nwodnsjava/dnsjava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17084567
octolytics-dimension-repository_network_root_nwodnsjava/dnsjava
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
release0760ea46a027ba5099cdef7abd54f27865eb4f44
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/dnsjava/dnsjava/issues/232#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdnsjava%2Fdnsjava%2Fissues%2F232
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%2Fdnsjava%2Fdnsjava%2Fissues%2F232
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=dnsjava%2Fdnsjava
Reloadhttps://github.com/dnsjava/dnsjava/issues/232
Reloadhttps://github.com/dnsjava/dnsjava/issues/232
Reloadhttps://github.com/dnsjava/dnsjava/issues/232
dnsjavahttps://github.com/dnsjava
dnsjavahttps://github.com/dnsjava/dnsjava
Codehttps://github.com/dnsjava/dnsjava
Issues16 (16)https://github.com/dnsjava/dnsjava/issues
Pull requests3 (3)https://github.com/dnsjava/dnsjava/pulls
Actionshttps://github.com/dnsjava/dnsjava/actions
Security and quality8 (8)https://github.com/dnsjava/dnsjava/security
Insightshttps://github.com/dnsjava/dnsjava/insights
https://github.com/dnsjava/dnsjava
New issuehttps://github.com/login?return_to=https://github.com/dnsjava/dnsjava/issues/232
New issuehttps://github.com/login?return_to=https://github.com/dnsjava/dnsjava/issues/232
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/nio/file/Paths; When running on Android 7.0.0https://github.com/dnsjava/dnsjava/issues/232#top
https://github.com/i-m-aman
i-m-amanhttps://github.com/i-m-aman
on Nov 8, 2021https://github.com/dnsjava/dnsjava/issues/232#issue-1047764872
https://github.com/ibauersachs
ibauersachshttps://github.com/ibauersachs
on Nov 8, 2021https://github.com/dnsjava/dnsjava/issues/232#issuecomment-963487038
ibauersachshttps://github.com/ibauersachs
completedhttps://github.com/dnsjava/dnsjava/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 5, 2021https://github.com/dnsjava/dnsjava/issues/232#event-5716943945
https://github.com/i-m-aman
i-m-amanhttps://github.com/i-m-aman
on Feb 6, 2022https://github.com/dnsjava/dnsjava/issues/232#issuecomment-1030827122
https://github.com/ibauersachs
ibauersachshttps://github.com/ibauersachs
on Feb 7, 2022https://github.com/dnsjava/dnsjava/issues/232#issuecomment-1031183582
exampleshttps://github.com/dnsjava/dnsjava/blob/master/EXAMPLES.md#get-the-mx-target-and-preference-of-a-name-modern
#112 (comment)https://github.com/dnsjava/dnsjava/issues/112#issuecomment-640046219
Sign up for freehttps://github.com/signup?return_to=https://github.com/dnsjava/dnsjava/issues/232
Sign in to commenthttps://github.com/login?return_to=https://github.com/dnsjava/dnsjava/issues/232
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.