java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via YouTrack by Unknown author, 1 year ago
com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
via jetbrains.com by Unknown author, 1 year ago
com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
via jetbrains.com by Unknown author, 1 year ago
com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
via alt-area.org by Unknown author, 1 year ago
via YouTrack by Unknown author, 1 year ago
via csdn.net by Unknown author, 1 year ago
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.LocalAddonPkgInfo.parseAddonProperties(LocalAddonPkgInfo.java:370)
at com.android.sdklib.repository.local.LocalAddonPkgInfo.createAndroidTarget(LocalAddonPkgInfo.java:199)
at com.android.sdklib.repository.local.LocalPlatformPkgInfo.getAndroidTarget(LocalPlatformPkgInfo.java:95)
at com.android.sdklib.repository.local.LocalAddonPkgInfo.getVendorId(LocalAddonPkgInfo.java:110)
at com.android.sdklib.repository.local.LocalAddonPkgInfo$1.getVendorId(LocalAddonPkgInfo.java:96)
at com.android.sdklib.repository.descriptors.PkgDescAddon.getVendorId(PkgDescAddon.java:93)
at com.android.sdklib.repository.descriptors.PkgDesc.compareTo(PkgDesc.java:226)
at com.android.sdklib.repository.descriptors.PkgDesc.compareTo(PkgDesc.java:42)
at com.android.sdklib.repository.local.LocalPkgInfo.compareTo(LocalPkgInfo.java:126)
at com.google.common.collect.NaturalOrdering.compare(NaturalOrdering.java:35)
at java.util.TreeMap.put(TreeMap.java:530)
at java.util.TreeSet.add(TreeSet.java:238)
at com.android.sdklib.repository.local.LocalSdk.scanAddons(LocalSdk.java:916)
at com.android.sdklib.repository.local.LocalSdk.getPkgsInfos(LocalSdk.java:566)
at com.android.sdklib.repository.local.LocalSdk.getTargets(LocalSdk.java:694)
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.(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 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)

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.

Write tip

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