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?
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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With