Android Studio工具
啟動Android Studio報錯:
java.lang.RuntimeException: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform. 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:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.awt.EventQueue$3.run(EventQueue.java:704)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362)
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)
Caused by: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform. must not be null
at com.android.tools.idea.welcome.Platform.(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.(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)
解決方法:
Android Studio的安裝目錄\bin,在檔案idea.properties的最後一行新增
disable.android.first.run=true
儲存後重新啟動解決
相關文章
- Android開發新工具Android Studio相關知識Android
- 工具使用之Android Studio快捷鍵-mac版AndroidMac
- Android Studio 2.0 to Android Studio 3.0Android
- 解決在Android Studio 3.2找不到Android Device Monitor工具Androiddev
- Android StudioAndroid
- android studio安裝教程|android studio漢化包Android
- Android dp方式的螢幕適配工具使用(Android Studio外掛方式)Android
- Android Studio 初探Android
- Android studio jniAndroid
- Android Studio配置Android
- 安裝android studioAndroid
- Android Studio使用ProtocolBuffersAndroidProtocol
- android studio 快捷鍵Android
- Android Studio外掛Android
- Android Studio - 基本配置Android
- android studio 外掛Android
- Android Studio復位Android
- Android Studio最全解析Android
- Android Studio安裝Android
- Android Studio使用新的Gradle構建工具配置NDK環境AndroidGradle
- 【Android Studio】Android Studio 搭建開發環境(Linux Ubuntu篇)Android開發環境LinuxUbuntu
- Android Studio - 安卓開發工具 開啟後報錯集合、修復指南Android安卓
- Android studio使用小技巧Android
- android Studio R 變紅Android
- Learn Android Studio 3 .pdfAndroid
- Android Studio微信頁面Android
- Android Studio踩坑記Android
- Android Studio 高階配置Android
- Android Studio 程式碼混淆Android
- Android Studio 2.2 jack深坑Android
- 使用Android studio建立apkAndroidAPK
- 配置你的 Android StudioAndroid
- Android Studio Tips Of the DayAndroid
- Android Studio 0.5.8釋出Android
- Android Studio初探之previewAndroidView
- Android Studio 入門指南Android
- Android Studio 權威教程Android
- android studio jdk問題AndroidJDK