博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Android Studio 开始运行错误
阅读量:6252 次
发布时间:2019-06-22

本文共 3914 字,大约阅读时间需要 13 分钟。

/******************************************************************************** *                        Android Studio 开始运行错误 * 说明: *     打开Android Studio就抛出这个错误。 *  *                                             2017-4-1 深圳  南山平山村 曾剑锋 *******************************************************************************/一、参考文档:    1. Android Studio can't start after installation        http://stackoverflow.com/questions/32090832/android-studio-cant-start-after-installation    二、Android Studio Error:    Internal error. Please report to https://code.google.com/p/android/issues        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:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) 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) 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) ... 16 more三、解决办法: 1. Open the folder bin under the directory where you installed your Android Studio. 2. Find the file idea.properties and open it with Notepad++, UltraEdit, or other edit tools. 3. Add disable.android.first.run=true as the final line and save the file. 4. Restart Android Studio.

 

转载于:https://www.cnblogs.com/zengjfgit/p/6656380.html

你可能感兴趣的文章
redis 中文字符显示
查看>>
webview与JS的交互
查看>>
国内外MD5在线解密网站
查看>>
187实现录制视频功能
查看>>
iframe刷新父页面
查看>>
如何提高团队管理能力1
查看>>
Redmine中使用SVN进行版本管理经验总结
查看>>
【OC语法要闻速览】一、方法调用
查看>>
使用光标
查看>>
find命令之exec
查看>>
Modular Inverse(模逆元,扩展欧几里德)
查看>>
找出两个文本文件的不同的行
查看>>
练习PYTHON之GEVENT
查看>>
Web持久化存储Web SQL、Local Storage、Cookies(常用)
查看>>
Libsvm和Liblinear的使用经验谈
查看>>
php生成curl命令行
查看>>
PHP中的数据库四、mongodb
查看>>
品读吴军"之"系列
查看>>
Android NumberPicker 修改分割线颜色和高度及字体颜色大小
查看>>
树莓派键盘布局修正
查看>>