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

YouTrack | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android Studio 2.2: NoSuchMethodError: com.google.common.io.Files.newOutputStreamSupplier(Ljava/io/File;)Lcom/google/common/io/OutputSupplier

    YouTrack | 7 months ago
    java.lang.NoSuchMethodError: com.google.common.io.Files.newOutputStreamSupplier(Ljava/io/File;)Lcom/google/common/io/OutputSupplier;

    Root Cause Analysis

    1. 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()
    2. com.android.tools
      LintDriver.analyze
      1. com.android.tools.klint.checks.ApiLookup.writeDatabase(ApiLookup.java:602)
      2. com.android.tools.klint.checks.ApiLookup.createCache(ApiLookup.java:228)
      3. com.android.tools.klint.checks.ApiLookup.get(ApiLookup.java:200)
      4. com.android.tools.klint.checks.ApiLookup.get(ApiLookup.java:126)
      5. com.android.tools.klint.checks.ApiDetector.beforeCheckProject(ApiDetector.kt:47)
      6. com.android.tools.klint.client.api.LintDriver.checkProject(LintDriver.java:823)
      7. com.android.tools.klint.client.api.LintDriver.analyze(LintDriver.java:381)
      8. com.android.tools.klint.client.api.LintDriver.analyze(LintDriver.java:322)
      8 frames
    3. org.jetbrains.android
      AndroidLintExternalAnnotator.doAnnotate
      1. org.jetbrains.android.inspections.klint.AndroidLintExternalAnnotator.doAnnotate(AndroidLintExternalAnnotator.java:151)
      2. org.jetbrains.android.inspections.klint.AndroidLintExternalAnnotator.doAnnotate(AndroidLintExternalAnnotator.java:62)
      2 frames
    4. IDEA
      ExternalToolPass$1.run
      1. com.intellij.codeInsight.daemon.impl.ExternalToolPass.doAnnotate(ExternalToolPass.java:218)
      2. com.intellij.codeInsight.daemon.impl.ExternalToolPass.access$500(ExternalToolPass.java:44)
      3. com.intellij.codeInsight.daemon.impl.ExternalToolPass$1.run(ExternalToolPass.java:160)
      3 frames
    5. Openapi
      QueueProcessor.runSafely
      1. com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:333)
      2. com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:323)
      3. com.intellij.util.ui.update.MergingUpdateQueue$3.run(MergingUpdateQueue.java:267)
      4. com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:282)
      5. com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:234)
      6. com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
      6 frames
    6. IDEA
      Alarm$Request.run
      1. com.intellij.util.Alarm$Request$1.run(Alarm.java:378)
      2. com.intellij.util.Alarm$Request.run(Alarm.java:389)
      2 frames
    7. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2 frames
    8. Openapi
      BoundedTaskExecutor$2.run
      1. com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:227)
      2. com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:187)
      2 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames