zoukankan      html  css  js  c++  java
  • Android Studio 安装后首次启动的 Config path ...... is invalid 问题(转)

     

      原文链接:http://m.blog.csdn.net/blog/hnust_xiehonghao/46127775

    1. 问题描述:

         安装好Android Studio后,启动时弹出如下信息:

          Config path ‘C:UsersAdministrator.AndroidStudio1.5config’ is invalid.
    If you have modified the ‘idea.config.path’ property please make sure it is correct,
    otherwise please re-install the IDE

     

    2.原因分析:

         程序无权限访问这个目录或者这个目录不存在!

     

    3.解决方法:

            打开 android-studio安装目录下的binidea.properties,有类似如下的内容

    #---------------------------------------------------------------------

    # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes

    #---------------------------------------------------------------------

    #idea.config.path=${user.home}/.AndroidStudio1.5/config

    #---------------------------------------------------------------------

    # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes

    #---------------------------------------------------------------------

    #idea.system.path=${user.home}/.AndroidStudio1.5/system

    ....etc

         C盘新建一个目录android_studio_data, 然后把${user.home} 换成C:android_studio_data, 然后所在行的idea前的#去掉(如果没有以上内容,直接添加以下内容,路径可自行设置

    添加或修改如下:

    #---------------------------------------------------------------------

    # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.

    #---------------------------------------------------------------------

    idea.config.path=C:/android_studio_data/.AndroidStudio1.5/config

    #---------------------------------------------------------------------

    # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.

    #---------------------------------------------------------------------

    idea.system.path=C:/android_studio_data/.AndroidStudio1.5w/system



  • 相关阅读:
    配置linux 防火墙,只有固定IP和端口才能能访问完美解决
    转.HTML中img标签的src属性绝对路径问题解决办法,完全解决!
    weblogic 安全漏洞问题解决
    转 echarts 的使用时遇到的坑 初始化和销毁,亲测有效!
    在使用 Fortify进行源码扫描时需要做对项目需要做什么?
    eclipse 导出 jar包详细步骤
    转 Fortofy扫描漏洞解决方案2
    JSON 之 SuperObject(1)
    Delphi使用JSON解析调用淘宝IP地址库REST API 示例
    Jsoncpp的使用
  • 原文地址:https://www.cnblogs.com/laishenghao/p/5047175.html
Copyright © 2011-2022 走看看