Android Studio 3.2.1虚拟设备创建错误

时间:2018-12-11 10:57:02

标签: java android android-studio intellij-idea

我正在Mac OSX上尝试使用Android虚拟设备管理器创建虚拟设备,但我不断收到以下错误消息:

  

@NotNull方法   com / android / tools / idea / avdmanager / AvdOptionsModel.getCreatedAvd必须   不返回null java.lang.IllegalStateException:@NotNull方法   com / android / tools / idea / avdmanager / AvdOptionsModel.getCreatedAvd必须   在不返回null   com.android.tools.idea.avdmanager.AvdOptionsModel。$$$ reportNull $$$ 0(AvdOptionsModel.java)     在   com.android.tools.idea.avdmanager.AvdOptionsModel.getCreatedAvd(AvdOptionsModel.java:881)     在   com.android.tools.idea.avdmanager.CreateAvdAction.actionPerformed(CreateAvdAction.java:44)     在   javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)     在   javax.swing.AbstractButton $ Handler.actionPerformed(AbstractButton.java:2348)     在   javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)     在   javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)     在   javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)     在java.awt.Component.processMouseEvent(Component.java:6548)在   javax.swing.JComponent.processMouseEvent(JComponent.java:3325)在   java.awt.Component.processEvent(Component.java:6313)在   java.awt.Container.processEvent(Container.java:2237)在   java.awt.Component.dispatchEventImpl(Component.java:4903)在   java.awt.Container.dispatchEventImpl(Container.java:2295)在   java.awt.Component.dispatchEvent(Component.java:4725)在   java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)     在   java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)     在java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)     在java.awt.Container.dispatchEventImpl(Container.java:2281)在   java.awt.Window.dispatchEventImpl(Window.java:2746)在   java.awt.Component.dispatchEvent(Component.java:4725)在   java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)在   java.awt.EventQueue.access $ 500(EventQueue.java:98)在   java.awt.EventQueue $ 3.run(EventQueue.java:715)在   java.awt.EventQueue $ 3.run(EventQueue.java:709)在   java.security.AccessController.doPrivileged(本机方法),位于   java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)     在   java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)     在java.awt.EventQueue $ 4.run(EventQueue.java:737)在   java.awt.EventQueue $ 4.run(EventQueue.java:735)在   java.security.AccessController.doPrivileged(本机方法),位于   java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)     在java.awt.EventQueue.dispatchEvent(EventQueue.java:734)在   com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:822)     在   com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:759)     在   com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:423)     在   java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)     在   java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)     在   java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)     在   java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)     在   java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)     在java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

0 个答案:

没有答案