java.lang.NoSuchMethodError: com.google.common.io.Files.newOutputStreamSupplier(Ljava/io/File;)Lcom/google/common/io/OutputSupplier;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via YouTrack by Unknown author, 1 year ago
com.google.common.io.Files.newOutputStreamSupplier(Ljava/io/File;)Lcom/google/common/io/OutputSupplier;
java.lang.NoSuchMethodError: com.google.common.io.Files.newOutputStreamSupplier(Ljava/io/File;)Lcom/google/common/io/OutputSupplier;
at com.android.tools.klint.checks.ApiLookup.writeDatabase(ApiLookup.java:602)
at com.android.tools.klint.checks.ApiLookup.createCache(ApiLookup.java:228)
at com.android.tools.klint.checks.ApiLookup.get(ApiLookup.java:200)
at com.android.tools.klint.checks.ApiLookup.get(ApiLookup.java:126)
at com.android.tools.klint.checks.ApiDetector.beforeCheckProject(ApiDetector.kt:47)
at com.android.tools.klint.client.api.LintDriver.checkProject(LintDriver.java:823)
at com.android.tools.klint.client.api.LintDriver.analyze(LintDriver.java:381)
at com.android.tools.klint.client.api.LintDriver.analyze(LintDriver.java:322)
at org.jetbrains.android.inspections.klint.AndroidLintExternalAnnotator.doAnnotate(AndroidLintExternalAnnotator.java:151)
at org.jetbrains.android.inspections.klint.AndroidLintExternalAnnotator.doAnnotate(AndroidLintExternalAnnotator.java:62)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass.doAnnotate(ExternalToolPass.java:218)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass.access$500(ExternalToolPass.java:44)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:333)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:323)
at com.intellij.util.ui.update.MergingUpdateQueue$3.run(MergingUpdateQueue.java:267)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:282)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:234)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:378)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:227)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.