Android studio SDK can't find path - android

So, my problem is that their is a space in one of my directory leading to appdata and on android studio i need to give him this path but he can't find it because he think that after the space their is nothing else, as you can see with the screen at "ce pc", can i do something to change the name of this directory or maybe change the sdk location ?
I already tried to modify the name with regedit and it was a really bad idea hopefully i did a backup before doing it.
With all my research i didn't found any way to move the sdk directory so maybe you can help

Related

Moving the default folders(.AndroidStudio2.X and .gradle ) to D disk:

I want to move Installed AndroidStudio from C: disk to another.
I've successfully(by standard way) .android folder, sdk folder(with it's environment variable) and installation path. However, I cant handle these ones:
c:\users\user\.AndroidStudio2.2
c:\users\user\.gradle
when I move these folders to d:\myfolder and changing every occurrence of c:\users\user\.AndroidStudio2.2 to d:\myfolder\.AndroidStudio2.2 (with TextCrawler), and changing .gradle location in AndroidStudio, it doesnt help.
In C:\user\user there is still created (upon running AStudio) .AndroidStudio2.2 folder. And running Emulator causes errors, because it cant find anything options in C:\users......
plus, I have uncommented and set the path values (in installation/bin/idea.properties) to d:\myfolder, but still no help.
Having dome something similar in the past, I find that moving drives on most software applications is still a big pain. However, I found that creating symlinks was helpful, as the software will "think" it's accessing the files at a location, but in reality they are stored in another.
I successfully did this in the past with Visual Studio and the concept is pretty much the same with Android Studio. You need to create a symlink as follows:
mklink /J "d:\myfolder\.AndroidStudio2.2" "c:\users\user\.AndroidStudio2.2"
Now when Android studio read or write the contents in c:\users\user\.AndroidStudio2.2, it will be in reality going to your d drive, which provided that it's accessible by the c drive, should make it all work.
You should be able to do that with the other folders as well. The benefit of doing it this way is that you're not constrained to the path the file is stored, which means that if you change computers or decide to store everything on the c drive again, you can just remove the symlink.
Hope this helps you.

Where is the "USER_HOME" folder for Gradle properties?

Basically , I'm doing a course in udacity and making the app they are teaching. The videos are pretty old and new information is given as text in the git directory. One of the changes I have to do is add a gradle.properties entry. However, I do not know where the folder they specified is located.
I've been stuck trying to find it for quite a while. Any help is really appreciated. Thanks in advance.
This is what they asked me to do.
My android SDK is located here
I do my projects in the desktop folder.
USER_HOME usually refers to your home directory as determined by the operating system. In Windows, this is C:\Users\<your user name>.
%USER_HOME% Means Directory of Which User Account in windows you are using for example: Your User Account Name in Windows is Syed Kamran So Your %USER_HOME% Will be C:/Users/Syed Kamran,
hope You Batter Understand Now, 🤗

Error saving system information. Access is denied. Android studio

I'm getting this painful error everytime I try to save my project for the last couple of days.
I've tried running android studio as administrator but I still get the same error.
I've tried to go to that path but the folder .AndroidStudio doesn't appears under User\Lucian\, and I can access the folder through the Address bar, but the folder seems to be empty.
I'd appreciate any directions on where I should be looking.
I've had the same issue since I installed Android Studio several weeks ago.
Today I found out that the 'Android1.3' folder (and some sub-folders) were invisible. Since I turned on the visibility of this folder, I am no longer getting this error. :)
Hope this will help you too.
Go to the path mentioned inside the error message. If you see any hidden folders listed in there change its properties and set its visibility to normal.
For example, C:\Users\Username\.AndroidStudio2.1 was hidden in my system. Removing the hidden properties worked for me.

How to move C:\User\UserName\.Android folder

I'm trying to create a portable configuration for Eclipse on a thumb drive. The only setting I can't find is Android wants to use C:\User\UserName.Adroid folder.
I can't find a way to change it to point to a different folder.
I added ANDROID_SDK_HOME to the environment variable but Eclipse still wants to point to C:\User\UserName.Adroid.
Anyone have any other suggestions?
Thanks
It started working after I restarted the computer.

Trouble adding raw resource

I'm walking through a small example to hit https web services. It requires building a keystore and placing the resulting bks file into the /res/raw directory. Simple enough. However, I can not access the file through R.raw...
I placed the file into the /res/raw directory, refreshed my project in Eclipse, navigated to the /res/raw directory in Eclipse and confirmed that it showed up in the project. However, when I type R.raw. in my file, the resulting list of possible filenames is empty.
I've tried cleaning and rebuilding, but the project still has no clue what R.raw.mycert is.
What am I doing wrong?
The answer to this question can be found here:
R.raw.anything cannot be resolved
When Eclispe is starting to behave weirdly, my last trick is to remove the project from the workspace and add it again... Try also to quit and restart eclispe
Good luck!
Try this -- find your EclipseWorkspace.
There should be a 'res' directory. So open it.
You will likely NOT find a 'raw' subdirectory.
So create a 'raw' directory, and drop your file into it. (I suppose these have to follow the rwx permissions under Linux that the others follow. I did this in Windows.)
Close the project, then open it again. See if 'res.raw.yourfile' shows up in the package explorer (it should).
I also discovered that 'R.raw.yourfile' is now noticed, and you should find an entry in 'gen/*/R.java' for this.
I think there's a bug in the gen compiler, or maybe Eclipse configuration. gen seems to be very picky about just what kind of resource it wants to look at, and is also doing some name mashing. For example, R.string.xxx finds a string by name xxx, even though the string resources are under 'res.values.string.xml'. So there's clearly a lot of magic going on, maybe special kludges known only to the gods in Mountain View.
Why this fix broke it loose I have no idea.

Categories

Resources