Android Studio 开始运行错误

/********************************************************************************
* Android Studio 开始运行错误
* 说明:
* 打开Android Studio就抛出这个错误。
*
* 2017-4-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.<init> must not be null
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:)
at com.intellij.idea.MainImpl$$$.run(MainImpl.java:)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:)
at java.awt.EventQueue.access$(EventQueue.java:)
at java.awt.EventQueue$.run(EventQueue.java:)
at java.awt.EventQueue$.run(EventQueue.java:)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:)
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:)
at com.android.tools.idea.welcome.Platform.createSubtree(Platform.java:)
at com.android.tools.idea.welcome.InstallComponentsPath.createComponentTree(InstallComponentsPath.java:)
at com.android.tools.idea.welcome.InstallComponentsPath.init(InstallComponentsPath.java:)
at com.android.tools.idea.wizard.DynamicWizardPath.attachToWizard(DynamicWizardPath.java:)
at com.android.tools.idea.wizard.DynamicWizard.addPath(DynamicWizard.java:)
at com.android.tools.idea.welcome.FirstRunWizard.init(FirstRunWizard.java:)
at com.android.tools.idea.welcome.FirstRunWizardHost.setupWizard(FirstRunWizardHost.java:)
at com.android.tools.idea.welcome.FirstRunWizardHost.getWelcomePanel(FirstRunWizardHost.java:)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.<init>(WelcomeFrame.java:)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.showNow(WelcomeFrame.java:)
at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:)
... more 三、解决办法:
. Open the folder bin under the directory where you installed your Android Studio.
. Find the file idea.properties and open it with Notepad++, UltraEdit, or other edit tools.
. Add disable.android.first.run=true as the final line and save the file.
. Restart Android Studio.

文章来源地址https://www.yii666.com/article/754236.html文章地址https://www.yii666.com/article/754236.html网址:yii666.com<网址:yii666.com文章来源地址:https://www.yii666.com/article/754236.html

版权声明:本文内容来源于网络,版权归原作者所有,此博客不拥有其著作权,亦不承担相应法律责任。文本页已经标记具体来源原文地址,请点击原文查看来源网址,站内文章以及资源内容站长不承诺其正确性,如侵犯了您的权益,请联系站长如有侵权请联系站长,将立刻删除

Android Studio 开始运行错误-相关文章

  1. Android Studio 开始运行错误

  2. Unity3d发布apk文件并在Android虚拟机中运行的操作流程

  3. Android Studio Eclipse运行时出现 finished with non-zero exit value 2 错误解决方法

  4. Java学习系列(一)Java的运行机制、JDK的安装配置及常用命令详解

  5. JAVA EE 运行环境配置(包含JAVA SE)

  6. linux(ubuntu) 搭建java程序运行环境

  7. java 程序运行过程 简介

    这里的Java程序运行过程,是指我们编译好代码之后,在命令行开始执行java xxx命令,到java程序开始执行起来的这一过程,我们称其为运行时。第一步,操作系统解析我们输入的java xxx命令,根据PATH中所配置的jrd路径找的其bin目录下的java.exe程序(这个程序是用c语言写的,源码

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信图片_20190322181744_03.jpg

微信扫一扫打赏

请作者喝杯咖啡吧~

支付宝扫一扫领取红包,优惠每天领

二维码1

zhifubaohongbao.png

二维码2

zhifubaohongbao2.png