2015-08-28 123 views
3

當我重新安裝後啓動Android Studio 1.2.1時,我收到以下錯誤消息。Android Studio無法啓動

java.lang.RuntimeException: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform.<init> must not be null 
    at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:178) 
    at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:52) 
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) 
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715) 
    at java.awt.EventQueue.access$400(EventQueue.java:82) 
    at java.awt.EventQueue$2.run(EventQueue.java:676) 
    at java.awt.EventQueue$2.run(EventQueue.java:674) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86) 
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:685) 
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362) 
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) 
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) 
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) 
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) 
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) 
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) 
Caused by: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform.<init> must not be null 
    at com.android.tools.idea.welcome.Platform.<init>(Platform.java) 
    at com.android.tools.idea.welcome.Platform.getLatestPlatform(Platform.java:72) 
    at com.android.tools.idea.welcome.Platform.createSubtree(Platform.java:89) 
    at com.android.tools.idea.welcome.InstallComponentsPath.createComponentTree(InstallComponentsPath.java:81) 
    at com.android.tools.idea.welcome.InstallComponentsPath.init(InstallComponentsPath.java:215) 
    at com.android.tools.idea.wizard.DynamicWizardPath.attachToWizard(DynamicWizardPath.java:97) 
    at com.android.tools.idea.wizard.DynamicWizard.addPath(DynamicWizard.java:233) 
    at com.android.tools.idea.welcome.FirstRunWizard.init(FirstRunWizard.java:75) 
    at com.android.tools.idea.welcome.FirstRunWizardHost.setupWizard(FirstRunWizardHost.java:100) 
    at com.android.tools.idea.welcome.FirstRunWizardHost.getWelcomePanel(FirstRunWizardHost.java:92) 
    at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.<init>(WelcomeFrame.java:68) 
    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) 

(原始畫面在這裏拍攝 - http://i.stack.imgur.com/3enaV.png

我嘗試添加:

"disable.android.first.run=true" 

C:\Program Files\Android\Android Studio\bin\idea.properties,但仍然沒有奏效。

回答

0

下載並安裝1.3。這似乎是一個已知的問題,並正在跟蹤here,和開發者都和用戶報告1.3應解決的問題

有人舉報你需要重新安裝之前清除一些文件 -

https://code.google.com/p/android/issues/detail?id=183063#c64

+0

做1.3。是141.2178138?因爲我找不到1.3。或者你能給我一個1.3的鏈接。版本?謝謝 。 – mics

+0

http://tools.android.com/download/studio/canary/1-3-1 – iagreen