Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio path error

I'm getting this error:

Config path'C:\Program Files(x86)\Android\android-studio\config' is invalid.   If you have modified the 'idea.config.path' property please make sure it is correct,       otherwise please re-install the IDE. 

I even re-installed the IDE, however, it doesn't work!

How to resolve this error?

like image 447
Tarun Pothulapati Avatar asked Jun 30 '13 12:06

Tarun Pothulapati


People also ask

How to fix SDK location not found Android Studio?

Close the current project and you'll see a pop-up with a dialog which will then proceed to Configure option. Configure -> Project Defaults -> Project Structure -> SDKs on left column -> Android SDK Home Path -> give the exact path as you did on local. properties and select Valid Target.

How to get SDK path in Android Studio?

Navigate to the File > Settings option you will get to see below dialog screen. Inside that screen. Click on Appearance and Behavior option > System Settings options and then click on the Android SDK option to get to see the below screen. Inside this screen, you will get to see your SDK path.

What is Path Android studio?

android.graphics.Path. The Path class encapsulates compound (multiple contour) geometric paths consisting of straight line segments, quadratic curves, and cubic curves. It can be drawn with canvas.


2 Answers

Open this file C:\Program Files (x86)\Android\android-studio\bin\idea.properties.

You will see something like this

#--------------------------------------------------------------------- # 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}/.AndroidStudioPreview/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}/.AndroidStudioPreview/system ....etc 

remove the # sign from those specific options and save it.

#--------------------------------------------------------------------- # 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}/.AndroidStudioPreview/config ....etc 

restart the android-stuido again.

like image 113
karu Avatar answered Sep 17 '22 15:09

karu


Run as administrator. The default locations for \config and \system are under c:\Program Files, which Windows won't let common software write to. Karu's solution moves the \config and \system folders to the current users directory, which is fair-er game.

like image 29
user2597608 Avatar answered Sep 17 '22 15:09

user2597608