我已经将android sdk更新到sdk平台23(android M),现在我无法启动android studio。这是我的错误,请帮助我:
内部错误。请报告https://code.google.com/p/android/issues
java.lang.AssertionError
at com.android.tools.idea.welcome.wizard.AndroidStudioWelcomeScreenProvider.createWelcomeScreen(AndroidStudioWelcomeScreenProvider.java:147)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.createScreen(WelcomeFrame.java:152)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.<init>(WelcomeFrame.java:63)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.showNow(WelcomeFrame.java:173)
at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:302)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:172)
at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:52)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362)
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)
答案 0 :(得分:0)
我也有这个问题。这解决了我的问题 -
1)将Android Studio与Android SDK WITH平台工具和构建工具一起更新到最新版本。
2)如果这不起作用,请执行Android的CLEAN安装Studio以及Android SDK。
这应该可以解决您的问题。如果这可以解决您的问题,&#34;接受&#34;请回答这个问题。
答案 1 :(得分:0)
对我有用的快速方法是删除Android Studio配置文件夹~/.AndroidStudio
。因此,下次加载IDE时,它看起来像一个全新的安装,我指向相同的SDK。无需下载。