Android Studio won't let me change SDK location

I am opening Android Studio. Then I open the SDK manager. I have the most modern version, but I need Android 6.0 for the SDK platform. It doesn't even allow me to push anything.

In this image, you can see that the text and checkboxes are desaturated. I can't click anything inside the SDK framework or even on the tools and update sites. I am unable to select the Show Package Details check box. You can see the screenshot below.

enter image description here

I've installed and modified it successfully on another laptop, but I can't seem to get it to work here.

+3


source to share


3 answers


Your sdk path has a problem. The sdk path you provided has whitespace.Remove and reset path again.Rename your path to remove whitespace.set something like "C: \ Users \ Tarique_Shams \ AppData \ Local \ Android \ SDK".



0


source


  • Open command prompt
  • Go to user directory - cd c:\users

  • Enter dir /x

    and pressEnter

  • See the short name for your "Tarique Shams" custom directory.

An example of where you will see it (highlighted in yellow, these are short names for directories with spaces in the name):

enter image description here



  1. For your "Tarique Shams" directory it should be TARIQU~1

    (but cross validation with command dir /x

    )
  2. Replace "Tarique Shams" along the way with TARIQU~1

  3. Save! You will go well now.

In short: your path should be something like this:

C: \ Users \ TARIQU ~ 1 \ AppData \ Local \ Android \ Sdk

0


source


The problem was that I had an empty space in my SDK location. To fix this problem, you can change the folder name as mentioned in DKThakur. In my case, I couldn't, because it was a user account. Then I tried to solve this problem using the short name added by AndroidMechanic. I ran into some complications and just ended up reinstalling Android Studio and SDK completely after completely uninstalling it from my computer, including local data. I installed it in a different folder with no spaces. Both DKThakur and AndroidMechanic have posted solutions that work, but this is how I did it.

Here is a link to another post on how to completely open android studio from your computer: How to completely uninstall Android Studio from windows (v10)? ...

0


source







All Articles