(java.lang.NoSuchMethodError) com.google.common.io.Closeables.closeQuietly

Hi,

I just updated from 13.3 to 13.4 and afterwards to scala plugin 0.38.441

Now, when I try to compile anything I get:

Error:Internal error: (java.lang.NoSuchMethodError) com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
          java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
              at com.android.sdklib.internal.project.ProjectProperties.parsePropertyStream(ProjectProperties.java:541)
              at com.android.sdklib.repository.local.LocalPlatformPkgInfo.createAndroidTarget(LocalPlatformPkgInfo.java:158)
              at com.android.sdklib.repository.local.LocalPlatformPkgInfo.getAndroidTarget(LocalPlatformPkgInfo.java:95)
              at com.android.sdklib.repository.local.LocalSdk.getTargets(LocalSdk.java:702)
              at com.android.sdklib.repository.local.LocalSdk.getTargetFromHashString(LocalSdk.java:722)
              at org.jetbrains.jps.android.AndroidJpsUtil.getAndroidTarget(AndroidJpsUtil.java:375)
              at org.jetbrains.jps.android.AndroidJpsUtil.getAndroidPlatform(AndroidJpsUtil.java:448)
              at org.jetbrains.jps.android.builder.AndroidPreDexBuildTarget.computeRootDescriptors(AndroidPreDexBuildTarget.java:110)
              at org.jetbrains.jps.builders.impl.BuildRootIndexImpl.addRoots(BuildRootIndexImpl.java:72)
              at org.jetbrains.jps.builders.impl.BuildRootIndexImpl.<init>(BuildRootIndexImpl.java:62)
              at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:76)
              at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:198)
              at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:113)
              at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:133)
              at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:41)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
              at java.lang.Thread.run(Thread.java:695)

1) The project SDK is Java_1.6
2) The modules I tried to compile has no Android facet. However, other modules of the porject have.
3) I was able to compile between the IDE update and the Scala Plugin update
4) Happens in both Windows (7 x32, x64) and Mac OS X (10.9.3)

Does, by any chance, the scala plugin use a different Guava version than the android support plugin?

Please sign in to leave a comment.