操作系统:window8.1职业64位 Android Studio版本:1.0.2 build#AI-135.1653844 java jdk; 1.7.0_71 64bit
com / intellij / openapi / vfs / VfsUtilCore.virtualToIoFile的@NotNull参数的参数0不能为null:com / intellij / openapi / vfs / VfsUtilCore.virtualToIoFile的@NotNull参数的参数0不能为null java.lang.IllegalArgumentException:com / intellij / openapi / vfs / VfsUtilCore.virtualToIoFile的@NotNull参数的参数0不能为null 在com.intellij.openapi.vfs.VfsUtilCore.virtualToIoFile(VfsUtilCore.java) 在com.android.tools.idea.wizard.ConfigureAndroidProjectPath.performFinishingActions(ConfigureAndroidProjectPath.java:119) 在com.android.tools.idea.wizard.DynamicWizard $ WizardCompletionAction.run(DynamicWizard.java:614) 在com.intellij.openapi.application.RunResult.run(RunResult.java:38) 在com.intellij.openapi.command.WriteCommandAction $ 2 $ 1.run(WriteCommandAction.java:118) 在com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:984) 在com.intellij.openapi.command.WriteCommandAction $ 2.run(WriteCommandAction.java:115) 在com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:124) 在com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:99) 在com.intellij.openapi.command.WriteCommandAction.performWriteCommandAction(WriteCommandAction.java:112) 在com.intellij.openapi.command.WriteCommandAction.access $ 000(WriteCommandAction.java:33) 在com.intellij.openapi.command.WriteCommandAction $ 1.run(WriteCommandAction.java:80) 在com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAction.java:85) 在com.android.tools.idea.wizard.DynamicWizard.doFinishAction(DynamicWizard.java:426) 在com.android.tools.idea.wizard.DialogWrapperHost $ FinishAction.doAction(DialogWrapperHost.java:313) 在com.intellij.openapi.ui.DialogWrapper $ DialogWrapperAction.actionPerformed(DialogWrapper.java:1719) 在javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) 在javax.swing.AbstractButton $ Handler.actionPerformed(AbstractButton.java:2341) 在javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) 在javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) 在javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6516) 在javax.swing.JComponent.processMouseEvent(JComponent.java:3320) 在java.awt.Component.processEvent(Component.java:6281) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4872) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4698) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4698) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) at java.awt.EventQueue.access $ 200(EventQueue.java:103) at java.awt.EventQueue $ 3.run(EventQueue.java:694) at java.awt.EventQueue $ 3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain $ 1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain $ 1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue $ 4.run(EventQueue.java:708) at java.awt.EventQueue $ 4.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain $ 1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:705) 在com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:697) 在com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:520) 在com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154) at java.awt.WaitDispatchSupport $ 2.run(WaitDispatchSupport.java:182) at java.awt.WaitDispatchSupport $ 4.run(WaitDispatchSupport.java:221) at java.security.AccessController.doPrivileged(Native Method) 在java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219) 在java.awt.Dialog.show(Dialog.java:1082) 在com.intellij.openapi.ui.impl.DialogWrapperPeerImpl $ MyDialog.show(DialogWrapperPeerImpl.java:787) 在com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:463) 在com.intellij.openapi.ui.DialogWrapper.showAndGetOk(DialogWrapper.java:1557) 在com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1524) 在com.android.tools.idea.wizard.DynamicWizard.show(DynamicWizard.java:461) 在com.android.tools.idea.actions.AndroidNewProjectAction.actionPerformed(AndroidNewProjectAction.java:45) 在com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:164) at com.intellij.openapi.actionSystem.impl.ActionMenuItem $ ActionTransmitter $ 1.run(ActionMenuItem.java:266) 在com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:926) at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124) at com.intellij.openapi.actionSystem.impl.ActionMenuItem $ ActionTransmitter.actionPerformed(ActionMenuItem.java:236) 在javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) 在com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:105) 在com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:512) 在com.intellij.ui.plaf.beg.BegMenuItemUI.access $ 300(BegMenuItemUI.java:44) 在com.intellij.ui.plaf.beg.BegMenuItemUI $ MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:532) at java.awt.Component.processMouseEvent(Component.java:6516) 在javax.swing.JComponent.processMouseEvent(JComponent.java:3320) 在java.awt.Component.processEvent(Component.java:6281) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4872) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4698) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4698) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) at java.awt.EventQueue.access $ 200(EventQueue.java:103) at java.awt.EventQueue $ 3.run(EventQueue.java:694) at java.awt.EventQueue $ 3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain $ 1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain $ 1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue $ 4.run(EventQueue.java:708) at java.awt.EventQueue $ 4.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain $ 1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:705) 在com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:697) 在com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:520) 在com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
答案 0 :(得分:0)
关闭Android Studio然后删除 .AndroidStudio 设置文件夹 (在Windows中,C:\ Users {YOUR_ACCOUNT} .AndroidStudio) 并再次启动你的Android工作室。它将重新配置设置并解决您的问题。 希望它有所帮助..
答案 1 :(得分:0)
只需同步您的项目并重建它就可以解决问题。