我正在使用android studio 2.2,它在通过单击“文件>>新建>>新项目>>”创建新项目时显示空指针异常
编辑:一切正常,直到我在创建新项目结束时单击“完成”按钮。
我还更新了 android studio 和 sdk 到最新版本也没有工作.. 也试图禁用插件,但它不会工作,需要帮助!!!
null
java.lang.NullPointerException
at com.intellij.openapi.vfs.VfsUtilCore.virtualToIoFile(VfsUtilCore.java:371)
at com.android.tools.idea.templates.recipe.RenderingContext$Builder.<init>(RenderingContext.java:300)
at com.android.tools.idea.templates.recipe.RenderingContext$Builder.newContext(RenderingContext.java:313)
**at com.android.tools.idea.npw.deprecated.ConfigureAndroidProjectPath.performFinishingOperation(ConfigureAndroidProjectPath.java:170)
at com.android.tools.idea.npw.deprecated.ConfigureAndroidProjectPath.canPerformFinishingActions(ConfigureAndroidProjectPath.java:141)**
at com.android.tools.idea.wizard.dynamic.DynamicWizard.doFinish(DynamicWizard.java:649)
at com.android.tools.idea.npw.NewProjectWizardDynamic.doFinish(NewProjectWizardDynamic.java:275)
at com.android.tools.idea.wizard.dynamic.DynamicWizard$1.run(DynamicWizard.java:422)
at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:227)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:357)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressMa nager.java:127)
at com.intellij.openapi.application.impl.ApplicationImpl$13$1.run(ApplicationImpl.java:633)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java :369)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)