{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/grpc/issues/6076","repository_url":"https://api.github.com/repos/grpc/grpc","labels_url":"https://api.github.com/repos/grpc/grpc/issues/6076/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc/issues/6076/comments","events_url":"https://api.github.com/repos/grpc/grpc/issues/6076/events","html_url":"https://github.com/grpc/grpc/issues/6076","id":145607793,"number":6076,"title":"java.lang.NoSuchMethodError: No static method directExecutor() at io.grpc.internal.ClientCallImpl","user":{"login":"mickykebe","id":3784089,"avatar_url":"https://avatars.githubusercontent.com/u/3784089?v=3","gravatar_id":"","url":"https://api.github.com/users/mickykebe","html_url":"https://github.com/mickykebe","followers_url":"https://api.github.com/users/mickykebe/followers","following_url":"https://api.github.com/users/mickykebe/following{/other_user}","gists_url":"https://api.github.com/users/mickykebe/gists{/gist_id}","starred_url":"https://api.github.com/users/mickykebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickykebe/subscriptions","organizations_url":"https://api.github.com/users/mickykebe/orgs","repos_url":"https://api.github.com/users/mickykebe/repos","events_url":"https://api.github.com/users/mickykebe/events{/privacy}","received_events_url":"https://api.github.com/users/mickykebe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-04T07:31:40Z","updated_at":"2016-04-28T10:08:09Z","closed_at":"2016-04-04T13:26:57Z","body":"It compiles just fine, but that error keeps popping up when my android app makes a blocking call to the server.\r\n\r\n> No static method directExecutor()Ljava/util/concurrent/Executor; in class Lcom/google/common/util/concurrent/MoreExecutors; or its super classes (declaration of 'com.google.common.util.concurrent.MoreExecutors' appears in /data/data/com.fentale.dalol/files/instant-run/dex/slice-guava-jdk5-17.0_a8ada10dcaf113cb6e3b4d3e5b46975833f8ae8f-classes.dex)\r\n                                                           java.lang.NoSuchMethodError: No static method directExecutor()Ljava/util/concurrent/Executor; in class Lcom/google/common/util/concurrent/MoreExecutors; or its super classes (declaration of 'com.google.common.util.concurrent.MoreExecutors' appears in /data/data/com.fentale.dalol/files/instant-run/dex/slice-guava-jdk5-17.0_a8ada10dcaf113cb6e3b4d3e5b46975833f8ae8f-classes.dex)\r\n                                                               at io.grpc.internal.ClientCallImpl.<init>(ClientCallImpl.java:100)\r\n                                                               at io.grpc.internal.ManagedChannelImpl$RealChannel.newCall(ManagedChannelImpl.java:320)\r\n                                                               at io.grpc.internal.ManagedChannelImpl.newCall(ManagedChannelImpl.java:299)\r\n                                                               at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:130)"},"comment":{"url":"https://api.github.com/repos/grpc/grpc/issues/comments/215376204","html_url":"https://github.com/grpc/grpc/issues/6076#issuecomment-215376204","issue_url":"https://api.github.com/repos/grpc/grpc/issues/6076","id":215376204,"user":{"login":"mickykebe","id":3784089,"avatar_url":"https://avatars.githubusercontent.com/u/3784089?v=3","gravatar_id":"","url":"https://api.github.com/users/mickykebe","html_url":"https://github.com/mickykebe","followers_url":"https://api.github.com/users/mickykebe/followers","following_url":"https://api.github.com/users/mickykebe/following{/other_user}","gists_url":"https://api.github.com/users/mickykebe/gists{/gist_id}","starred_url":"https://api.github.com/users/mickykebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickykebe/subscriptions","organizations_url":"https://api.github.com/users/mickykebe/orgs","repos_url":"https://api.github.com/users/mickykebe/repos","events_url":"https://api.github.com/users/mickykebe/events{/privacy}","received_events_url":"https://api.github.com/users/mickykebe/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T10:08:09Z","updated_at":"2016-04-28T10:08:09Z","body":"@BelfodilAimene My app had a dependency on the youtube library which inturn depended on guava. However youtube's guava dependency is from a different source than grpc's and using an older version. Two versions of the guava jar existed in the app and grpc was accessing youtube's older guava version rather than its own, which caused the problem.\r\nSolution: \r\n  compile('com.google.apis:google-api-services-youtube:v3-rev164-1.21.0') {\r\n        exclude module: 'guava-jdk5'\r\n    }\r\n\r\nSee if there's a library dependent on guava in your project."}}