인텔리제이 커뮤니티 에디션을 13.1.3에서 13.1.4로 오늘 업데이트 했는데, 아래와 같은 문제가 생겼다.
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.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.android.sdklib.repository.local.LocalPkgInfo.compareTo(LocalPkgInfo.java:40) at com.google.common.collect.NaturalOrdering.compare(NaturalOrdering.java:35) at com.google.common.collect.NaturalOrdering.compare(NaturalOrdering.java:26) at java.util.TreeMap.compare(TreeMap.java:1188) at java.util.TreeMap.put(TreeMap.java:531) at java.util.TreeSet.add(TreeSet.java:255) at com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection.add(AbstractMapBasedMultimap.java:503) 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 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:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)
complie할 때 에러가 나는데 workspace를 다시 만들거나, SDK 업데이트, 설정 초기화 등 다 해봐도 해결이 안된다 -_- 다른 프로젝트를 열어도 모두 같은 문제가 생기는 걸 보면, 한 프로젝트에서 설정을 잘못한 것은 아닌거 같은데.. 아무래도 IDE 문제인 것 같다.
결국 인텔리제이 14 EAP(Early Access Program)로 업데이트하고 나서야 문제가 해결되었다. 모든 커뮤니티 에디션 사용자를 베타테스터로 몰기위한 전략인건가;