我刚刚在 Linux 中将 Android Studio 更新为 3.5.3。之后,我无法添加图像资产,因为它显示错误 -
预览渲染错误
下面添加了错误屏幕
在以前的版本中,它工作正常。请帮忙
java.lang.NoSuchMethodError: com.twelvemonkeys.imageio.plugins.tiff.TIFFImageReaderSpi.canDecodeAs(Ljava/lang/Object;I)Z
at com.twelvemonkeys.imageio.plugins.tiff.BigTIFFImageReaderSpi.canDecodeInput(BigTIFFImageReaderSpi.java:58)
at javax.imageio.ImageIO$CanDecodeInputFilter.filter(ImageIO.java:567)
at javax.imageio.spi.FilterIterator.advance(ServiceRegistry.java:834)
at javax.imageio.spi.FilterIterator.<init>(ServiceRegistry.java:828)
at javax.imageio.spi.ServiceRegistry.getServiceProviders(ServiceRegistry.java:519)
at javax.imageio.ImageIO.getImageReaders(ImageIO.java:646)
at com.intellij.ide.util.TipUIUtil.read(TipUIUtil.java:254)
at com.intellij.ide.util.TipUIUtil.updateImages(TipUIUtil.java:210)
at com.intellij.ide.util.TipUIUtil.getTipText(TipUIUtil.java:126)
at com.intellij.ide.util.TipUIUtil.openTipInBrowser(TipUIUtil.java:150)
at com.intellij.ide.util.TipPanel.setTip(TipPanel.java:84)
at com.intellij.ide.util.TipPanel.nextTip(TipPanel.java:107)
at com.intellij.ide.util.TipDialog.initialize(TipDialog.java:55)
at com.intellij.ide.util.TipDialog.<init>(TipDialog.java:46)
at com.intellij.ide.util.TipDialog.createForProject(TipDialog.java:108)
at com.intellij.ide.util.TipDialog.showForProject(TipDialog.java:95)
at com.intellij.ide.TipOfTheDayStartupActivity.runImpl(TipOfTheDayStartupActivity.java:50)
at com.intellij.ide.TipOfTheDayStartupActivity.lambda$runImpl$0(TipOfTheDayStartupActivity.java:46)
at com.intellij.openapi.wm.impl.commands.InvokeLaterCmd.lambda$run$0(InvokeLaterCmd.java:37)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:757)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:706)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:375)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
这是我在启动 Android Studio 时得到的。