Title: getInterfaceFromBinder() broken when built with build tools 31.0.0 · Issue #24 · Chainfire/librootjava · GitHub
Open Graph Title: getInterfaceFromBinder() broken when built with build tools 31.0.0 · Issue #24 · Chainfire/librootjava
X Title: getInterfaceFromBinder() broken when built with build tools 31.0.0 · Issue #24 · Chainfire/librootjava
Description: getInterfaceFromBinder() assumes that the field DESCRIPTOR exists on IServiceName$Stub, however in the Java file generated by aidl in build tools 31.0.0 that field has moved to the outer class IServiceName. 2021-08-08 06:52:15.863 14126-...
Open Graph Description: getInterfaceFromBinder() assumes that the field DESCRIPTOR exists on IServiceName$Stub, however in the Java file generated by aidl in build tools 31.0.0 that field has moved to the outer class ISer...
X Description: getInterfaceFromBinder() assumes that the field DESCRIPTOR exists on IServiceName$Stub, however in the Java file generated by aidl in build tools 31.0.0 that field has moved to the outer class ISer...
Opengraph URL: https://github.com/Chainfire/librootjava/issues/24
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"getInterfaceFromBinder() broken when built with build tools 31.0.0","articleBody":"`getInterfaceFromBinder()` assumes that the field `DESCRIPTOR` exists on `IServiceName$Stub`, however in the Java file generated by `aidl` in build tools `31.0.0` that field has moved to the outer class `IServiceName`.\r\n\r\n```\r\n2021-08-08 06:52:15.863 14126-14518/me.zhanghai.android.files D/librootjava: [EXCEPTION] NoSuchFieldException: No field DESCRIPTOR in class Lme/zhanghai/android/files/provider/remote/IRemoteFileService$Stub; (declaration of 'me.zhanghai.android.files.provider.remote.IRemoteFileService$Stub' appears in /data/app/me.zhanghai.android.files-6Bir_-HtGdJLZbio_yZFdA==/base.apk!classes4.dex)\r\n2021-08-08 06:52:15.864 14126-14518/me.zhanghai.android.files W/System.err: java.lang.NoSuchFieldException: No field DESCRIPTOR in class Lme/zhanghai/android/files/provider/remote/IRemoteFileService$Stub; (declaration of 'me.zhanghai.android.files.provider.remote.IRemoteFileService$Stub' appears in /data/app/me.zhanghai.android.files-6Bir_-HtGdJLZbio_yZFdA==/base.apk!classes4.dex)\r\n2021-08-08 06:52:15.864 14126-14518/me.zhanghai.android.files W/System.err: at java.lang.Class.getDeclaredField(Native Method)\r\n2021-08-08 06:52:15.864 14126-14518/me.zhanghai.android.files W/System.err: at eu.chainfire.librootjava.Reflection$InterfaceRetriever.getInterfaceFromBinder(Reflection.java:276)\r\n2021-08-08 06:52:15.864 14126-14518/me.zhanghai.android.files W/System.err: at eu.chainfire.librootjava.RootIPCReceiver.getInterfaceFromBinder(RootIPCReceiver.java:260)\r\n2021-08-08 06:52:15.864 14126-14518/me.zhanghai.android.files W/System.err: at eu.chainfire.librootjava.RootIPCReceiver.access$700(RootIPCReceiver.java:45)\r\n2021-08-08 06:52:15.864 14126-14518/me.zhanghai.android.files W/System.err: at eu.chainfire.librootjava.RootIPCReceiver$2.onReceive(RootIPCReceiver.java:137)\r\n2021-08-08 06:52:15.864 14126-14518/me.zhanghai.android.files W/System.err: at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0(LoadedApk.java:1424)\r\n2021-08-08 06:52:15.864 14126-14518/me.zhanghai.android.files W/System.err: at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run(Unknown Source:2)\r\n2021-08-08 06:52:15.864 14126-14518/me.zhanghai.android.files W/System.err: at android.os.Handler.handleCallback(Handler.java:873)\r\n2021-08-08 06:52:15.864 14126-14518/me.zhanghai.android.files W/System.err: at android.os.Handler.dispatchMessage(Handler.java:99)\r\n2021-08-08 06:52:15.865 14126-14518/me.zhanghai.android.files W/System.err: at android.os.Looper.loop(Looper.java:193)\r\n2021-08-08 06:52:15.865 14126-14518/me.zhanghai.android.files W/System.err: at android.os.HandlerThread.run(HandlerThread.java:65)\r\n```\r\n\r\nSee also https://github.com/zhanghai/MaterialFiles/issues/546.","author":{"url":"https://github.com/zhanghai","@type":"Person","name":"zhanghai"},"datePublished":"2021-08-08T14:01:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/24/librootjava/issues/24"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d305e5f4-f88e-74ed-b082-61a7b7638095 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C868:3523AF:A1E47F2:D0D67E6:697EF8F2 |
| html-safe-nonce | 91ef8e43ab4f838985a1ed8e86bedef869fe857d53b411ac3c394dedc77b9ccd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODY4OjM1MjNBRjpBMUU0N0YyOkQwRDY3RTY6Njk3RUY4RjIiLCJ2aXNpdG9yX2lkIjoiMjMwNDkxMzk1MzcyMjkyMzI1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | aa77bc6b58ad7408da2f277f9777ac7291fcbde46d4fdbd435e204a874442b81 |
| hovercard-subject-tag | issue:963439337 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Chainfire/librootjava/24/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1ff71bdbe2c94e460902242f8d49cef03fe41432164db49c1c96e12f8ec7184e/Chainfire/librootjava/issues/24 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1ff71bdbe2c94e460902242f8d49cef03fe41432164db49c1c96e12f8ec7184e/Chainfire/librootjava/issues/24 |
| og:image:alt | getInterfaceFromBinder() assumes that the field DESCRIPTOR exists on IServiceName$Stub, however in the Java file generated by aidl in build tools 31.0.0 that field has moved to the outer class ISer... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zhanghai |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/Chainfire/librootjava git https://github.com/Chainfire/librootjava.git |
| octolytics-dimension-user_id | 849321 |
| octolytics-dimension-user_login | Chainfire |
| octolytics-dimension-repository_id | 158734707 |
| octolytics-dimension-repository_nwo | Chainfire/librootjava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 158734707 |
| octolytics-dimension-repository_network_root_nwo | Chainfire/librootjava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width