V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
工单节点使用指南
• 请用平和的语言准确描述你所遇到的问题
• 厂商的技术支持和你一样也是有喜怒哀乐的普通人类,尊重是相互的
• 如果是关于 V2EX 本身的问题反馈,请使用 反馈 节点
Trumeet
V2EX  ›  全球工单系统

Android Studio 升级 Canary 3.4 爆炸了..

  •  
  •   Trumeet · 2018-12-29 01:14:09 +08:00 · 3044 次点击
    这是一个创建于 2155 天前的主题,其中的信息可能已经有所发展或是发生改变。

    升级 Canary 3.4 之后在所有需要联想的文本框(代码框、Git Sign-off 框、甚至 Git Commit Message 框)均无法输入字母和数字,以及极少数符号。表现为输入第一个字符后迅速被回退,然后出现两个光标(回退前 & 回退后),并无法输入其它字符。

    崩溃了,代码都输不进去让我们用文本编辑器干活啊...

    以下是 IDE 反馈的堆栈,不知道是否相关:

    java.lang.NoSuchMethodError: kotlinx.coroutines.experimental.BuildersKt.launch$default(Lkotlinx/coroutines/experimental/CoroutineScope;Lkotlin/coroutines/experimental/CoroutineContext;Lkotlinx/coroutines/experimental/CoroutineStart;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/experimental/Job;
    	at com.intellij.openapi.application.impl.AppUIExecutorEx$DefaultImpls.execute(AppUIExecutorEx.kt:29)
    	at com.intellij.openapi.application.impl.AppUIExecutorImpl.execute(AppUIExecutorImpl.kt:24)
    	at com.intellij.codeInsight.AutoPopupController.runTransactionWithEverythingCommitted(AutoPopupController.java:196)
    	at com.intellij.codeInsight.AutoPopupController.scheduleAutoPopup(AutoPopupController.java:124)
    	at com.intellij.codeInsight.AutoPopupController.scheduleAutoPopup(AutoPopupController.java:138)
    	at com.intellij.codeInsight.editorActions.CompletionAutoPopupHandler.checkAutoPopup(CompletionAutoPopupHandler.java:64)
    	at com.intellij.codeInsight.editorActions.TypedHandler.lambda$execute$0(TypedHandler.java:172)
    	at com.intellij.openapi.editor.impl.CaretModelImpl.lambda$runForEachCaret$2(CaretModelImpl.java:349)
    	at com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:438)
    	at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:341)
    	at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:332)
    	at com.intellij.codeInsight.editorActions.TypedHandler.execute(TypedHandler.java:158)
    	at com.intellij.codeInsight.lookup.impl.LookupTypedHandler.execute(LookupTypedHandler.java:74)
    	at com.intellij.codeInsight.template.emmet.EmmetPreviewTypedHandler.execute(EmmetPreviewTypedHandler.java:39)
    	at com.intellij.codeInsight.editorActions.AutoFormatTypedHandler.executeOriginalHandler(AutoFormatTypedHandler.java:167)
    	at com.intellij.codeInsight.editorActions.AutoFormatTypedHandler.execute(AutoFormatTypedHandler.java:94)
    	at com.jetbrains.cidr.lang.formatting.OCAutoFormatTypedHandler.execute(OCAutoFormatTypedHandler.java:58)
    	at com.intellij.execution.impl.ConsoleViewImpl$MyTypedHandler.execute(ConsoleViewImpl.java:1212)
    	at com.intellij.openapi.editor.impl.DefaultRawTypedHandler$1.run(DefaultRawTypedHandler.java:55)
    	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1057)
    	at com.intellij.openapi.editor.impl.DefaultRawTypedHandler.execute(DefaultRawTypedHandler.java:49)
    	at com.intellij.openapi.editor.impl.EditorFactoryImpl$MyRawTypedHandler.execute(EditorFactoryImpl.java:291)
    	at com.intellij.openapi.editor.actionSystem.TypedAction.lambda$actionPerformed$0(TypedAction.java:130)
    	at com.intellij.reporting.FreezeLoggerImpl.runUnderPerformanceMonitor(FreezeLoggerImpl.java:42)
    	at com.intellij.openapi.editor.actionSystem.TypedAction.actionPerformed(TypedAction.java:130)
    	at com.intellij.openapi.editor.impl.EditorImpl.processKeyTypedNormally(EditorImpl.java:1238)
    	at com.intellij.openapi.editor.impl.EditorImpl.processKeyTyped(EditorImpl.java:1223)
    	at com.intellij.openapi.editor.impl.EditorImpl.processKeyTyped(EditorImpl.java:3293)
    	at com.intellij.openapi.editor.impl.EditorImpl$7.keyTyped(EditorImpl.java:1053)
    	at java.awt.Component.processKeyEvent(Component.java:6503)
    	at javax.swing.JComponent.processKeyEvent(JComponent.java:2833)
    	at java.awt.Component.processEvent(Component.java:6325)
    	at java.awt.Container.processEvent(Container.java:2237)
    	at java.awt.Component.dispatchEventImpl(Component.java:4903)
    	at java.awt.Container.dispatchEventImpl(Container.java:2295)
    	at java.awt.Component.dispatchEvent(Component.java:4725)
    	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
    	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
    	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
    	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
    	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
    	at com.intellij.ide.IdeKeyboardFocusManager.dispatchEvent(IdeKeyboardFocusManager.java:27)
    	at java.awt.Component.dispatchEventImpl(Component.java:4774)
    	at java.awt.Container.dispatchEventImpl(Container.java:2295)
    	at java.awt.Window.dispatchEventImpl(Window.java:2746)
    	at java.awt.Component.dispatchEvent(Component.java:4725)
    	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:80)
    	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
    	at java.awt.EventQueue$4.run(EventQueue.java:737)
    	at java.awt.EventQueue$4.run(EventQueue.java:735)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
    	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:755)
    	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:682)
    	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:375)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    	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)
    

    一开始怀疑是插件不兼容的问题,所以禁用了所有我装的插件,并 Invalidate cache 了一遍,仍然这样。

    不知道 V2er 们有没有遇到类似情况呢?

    10 条回复    2018-12-30 01:28:37 +08:00
    Trumeet
        1
    Trumeet  
    OP
       2018-12-29 01:17:05 +08:00
    Trumeet
        2
    Trumeet  
    OP
       2018-12-29 01:29:55 +08:00
    解决了 =。=,自己升级的时候可能没有覆盖干净,并没有把旧的全部删除再安装,可能有残余干扰,打扰各位了(
    hhhsuan
        3
    hhhsuan  
       2018-12-29 01:32:26 +08:00 via Android
    老老实实用 stable
    jinhan13789991
        4
    jinhan13789991  
       2018-12-29 07:56:48 +08:00 via Android
    还停留在 3.1.2 版本,最新版编辑器报错一堆,但是能编译运行。老项目不让升级
    skull
        5
    skull  
       2018-12-29 08:05:48 +08:00 via iPhone
    @jinhan13789991 那是依赖没有传递,自己的模块依赖上就行了
    jinhan13789991
        6
    jinhan13789991  
       2018-12-29 08:17:42 +08:00 via Android
    @skull 组长不让~
    mrtrying
        7
    mrtrying  
       2018-12-29 09:16:08 +08:00
    一直是一个电脑两个版本
    yukiww233
        8
    yukiww233  
       2018-12-29 10:12:16 +08:00
    在用 3.4canary9,小问题一堆
    不过 stable 的 bug 也一点都不少
    Prince28
        9
    Prince28  
       2018-12-29 14:34:05 +08:00
    轻易不敢升级,跑一个项目慢的很,同事骗我升,说升了快多了,升了之后,更糟糕了
    Trumeet
        10
    Trumeet  
    OP
       2018-12-30 01:28:37 +08:00
    现在已经回不来了(以前是 Dev )。Gradle 测试版升级了就没法回退(
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4102 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 10:11 · PVG 18:11 · LAX 02:11 · JFK 05:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.