Android Studio: how to change location of android/gradle folders - Android Studio

I've just installed Android Studio for the first time, and some of the folders went straight to my OneDrive folder: ".android", ".AndroidStudio1.2" and ".gradle."
Apparently, they get automatically saved in the parent folder of your "Desktop" folder (and this is where I keep mine). A bit wierd if you ask me.
Because of that OneDrive has 1-2 GB of data to upload after every time I use the studio.
Any solution to that weird problem would be highly appreciated :highfive:

Related

[Q] DCIM thumbnails taking over storage - need a fix!

Ok so I have an SGS for over a year now, with an external sd of 16GB and cyanogenmod 10 installed (this one). It's fantastic. But, recently I started having some storage problems. I couldn't update anything or download any new app or even take a picture. This seemed odd as I don't have that many applications installed and I keep all my big files on the external sd. So I started clearing caches and moving applications to the sd. Those solutions didn't last long.
Worse, ther weird part was yet to come. When I checked my settings >> storage, I found that there should be more than a 1.5GB of free space. But, If I checked my settings >> Apps >> On SD Card, I could see that there was only around 5MB of space left. Still, I found some old backup that I didn't need anymore, so I deleted that. hooray, there were now 500MB free to use. That is, until the next day when again, there was zero space to be used. I was shocked because during that time I didn't install anything new, I only took a small video of less than a minute, which by itself didn't weight more than 60MB of space.
Something was definetly up. Using File Manager I tried checking where all the data is, and I found that, to my amazement, in the DCIM folder, there was a folder named ".thumbnails" which took up 2GB of space. That is a lot. seaching around the Forums here, it seems I'm not the first one to notice this problem.
And the solution always seems to be "just delete the thumbnails". To me that seems a bit crass and not really a solution. I'm not tech enough to know what are the implications of simply deleting those files, and I'm not sure how long it's going to last anyway, before I need to do it again. So I'd like to know if there's some kind of fix I can install or some configuration I can change that would make sure it doesn't happen again. Or, if anything, some explanation in layman's terms why it's okay to simply delete those files. I'd like to mention that my phone is rooted, and I have CWM, Rom Manager and Terminal Emulator so I can use those if necessary.
AW: [Q] DCIM thumbnails taking over storage - need a fix!
That really is weird. Did you try to fix permissions in cwm recovery? I'm not sure it would even check that directory but it surely doesn't hurt.
Even if it works it will not cure your immediate problem. You will need to delete the thumbnail folder or the files in it. And here is why you don't have to worry.
Thumbnails are small files that store a preview of your images. They get created by your image viewer and are updated whenever it detects a change in the image file. When your viewer doesn't find a thumbnail it needs to read the whole image file, create a preview and show this. The created preview is then saved as thumbnail so it can be loaded next time the program needs to show the image.
In short: if you delete the thumbnails then they will be recreated next time your image viewer shows the images. So there is nothing to lose. You can safely delete the thumbnails.
JUST BE SURE THEY REALLY ARE THUMBNAILS AND NOT THE IMAGES THEMSELVES!

Screenshot location & Google Photos backup

Hey everyone
I have had some problems with regarding screenshots on my Note 8.
1. Screenshots are by default stored at a folder named DCIM/Screenshots.
can this, by any way, be changed? I couldn't find any normal way throughout the settings. My device is rooted with TWRP if that helps...
2. Google Photos automatically backs up all images in the DCIM folder and subfolders.
I like the auto backup thing. It's fine by me. But I don't like the fact that it backs up my screenshots. both for Clutter reasons and privacy reasons.
While you can go ahead and pick folders to be backed up by the app IN ADDITION to the DCIM folder, I can't make the app to not include the DCIM/Screenshots in the backup.
A solution to any of the issues will help.
If I can get my screenshots to be saved to a different folder - that's great. If I can make the Google Photos app to not include the "DCIM/Screenshots" folder in the auto upload - that would be even better.
Thank you for your help
Have a great day.
Actually - Seeing now:
Besides Screenshots folder in the "DCIM" folder, there's also a few more folders containing images other than pictures I took with my camera. Images which I have no interest in backing up.
Therefore I think the main problem is the fact that the Google Photos app is by default uploading the entire DCIM folder and not letting users decide if they want all subfolders included.
thanks...

Favorites folder missing in Gallery

Hello, I put around 1000 images in my Favorites by pressing <3 icon from all around the phone (Downloads, Camera, SD card storage). The folder would go missing sometimes, but it was always back after restarting the Gallery. But now it's not showing up no matter what I do, I restarted Gallery and Huawei P9 phone itself a few times, but still no Favorites folder. The images still exist in their respective original folders and have <3 marking, it's just the folder itself that is missing. This is very inconvenient because now I'll have to filter through tens of thousands of images instead of having an easy access. If any of you know how to make the Favorites folder reveal itself, I will be very grateful for your knowledge and information. Thank you.

My pixel 4 xl "Files" app will not show current information

Hello friends.
I'm posting this today seeking the help of someone who is smarter than me. I know it's not very likely for anyone to have my particular phone model and android version combination, but here goes nothing:
First of all, I'm talking about the "Files" application that is a basic file manager that comes with pixel phones.
Anyway, ever since I got my pixel 4xl phone over a year ago, I noticed the Files app is never "current". By that, I mean it keeps showing files that were already deleted, either with another file manager or by accessing the phone storage with a computer.
The deleted files keep being showed in "Files" for several hours and sometimes even days after they are actually gone from my storage. "Refreshing" the app (by pulling down) does nothing, and trying to open the files gets me a toast notification saying "Can't open file", while trying to delete it gets me a silent notification that sais "Couldn't delete item".
Surprisingly, deleting the apps cache and storage does nothing either.
After a while, seemingly without rhyme or reason, "Files" seems to "catch up" to the fact that the files are no longer there, and stops showing them.
Can anyone relate to this?
Best regards!
Details: Pixel 4xl, unrooted, android 10
Essentially Android keeps a "media" database that the Files app is probably looking at. Most actions that create or remove a file through high level APIs will update this database, but some will not. For example, an alternate file manager app could add/delete an image and Photos won't realize it. Or a folder contains a ".nomedia" file in it, and random apps won't know about files stored there.
The type of operation you're looking to do is to force a media rescan.
Thank you for your reply and your useful information. I will try to find out if the app has a media rescan option somewhere.
Cheers.

Question How to change camera photos save location

Hi there, is there any way to change camera photos save location. Default is external storage/DCIM/camera. I use my NAS cloud to back up photos but it needs photos exacly in DCIM folder to backing up.
Dizzyrul3z said:
Hi there, is there any way to change camera photos save location. Default is external storage/DCIM/camera. I use my NAS cloud to back up photos but it needs photos exacly in DCIM folder to backing up.
Click to expand...
Click to collapse
Hey.
Not a direct solution as such, but more a possible workaround.
Could try looking into such apps as these which will automatically move the files to the chosen folder:
Auto Move for Android Puts Your Files Exactly Where You Want Them
While I consider myself to be a pretty organized guy, there are often times where I just can't find a file I put on my phone. Most of the time, when I download a file it goes automatically into my Download folder, but when I use a third-party to download other files, like torrents, they could...
htc-one.gadgethacks.com
Android App to automatically MOVE files from folders on one device to a folder on another device when connected to Wifi?
I have one Android device (devA) I take with me and another Android device I always leave at home (devB). Whenever I get home and devA connects to my Wifi, I need all files in specific folder(s) on...
softwarerecs.stackexchange.com

Categories

Resources