我下载android sdk for mac并尝试打开(tools / android)后,抛出以下异常:
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
at com.android.sdklib.internal.avd.AvdManager.parseIniFileImpl(AvdManager.java:1748)
at com.android.sdklib.internal.avd.AvdManager.parseIniFile(AvdManager.java:1667)
at com.android.sdklib.internal.avd.AvdManager.parseAvdInfo(AvdManager.java:1452)
at com.android.sdklib.internal.avd.AvdManager.buildAvdList(AvdManager.java:1435)
at com.android.sdklib.internal.avd.AvdManager.<init>(AvdManager.java:343)
at com.android.sdklib.internal.avd.AvdManager.getInstance(AvdManager.java:353)
at com.android.sdklib.internal.repository.updater.UpdaterData.initSdk(UpdaterData.java:252)
at com.android.sdklib.internal.repository.updater.UpdaterData.<init>(UpdaterData.java:120)
at com.android.sdkuilib.internal.repository.SwtUpdaterData.<init>(SwtUpdaterData.java:61)
at com.android.sdkuilib.internal.repository.ui.SdkUpdaterWindowImpl2.<init>(SdkUpdaterWindowImpl2.java:104)
at com.android.sdkuilib.repository.SdkUpdaterWindow.<init>(SdkUpdaterWindow.java:88)
at com.android.sdkmanager.Main.showSdkManagerWindow(Main.java:407)
at com.android.sdkmanager.Main.doAction(Main.java:390)
at com.android.sdkmanager.Main.run(Main.java:150)
at com.android.sdkmanager.Main.main(Main.java:116)
我想它错过了一些库,有人知道如何解决它吗?