Posts

Showing posts with the label Sync

Best Way To Mirror Folders

Image
Answer : You could take a look at SyncToy from Microsoft. It's got a number options for copying data between folders - this page has a useful guide on it's use and explains what the various options do: Now, you need to choose how you want to backup the information. You can perform the following tasks between two folders: Synchronize : New and updated files are copied both ways. Renames and deletes in one folder is repeated on the other. Echo : New and updated files are copied left to right. Renames and deletes on the left are repeated on the right. Subscribe : Updated files on the right are copied to the left is the file name already exists on the left. Contribute : New and updated files are copied left to right. Renames on the left are repeated on the right. Similar to Echo, except there are no deletions. Combine : New and updated files are copied both ways. Renamed and deleted files are ignored. If these folders are on the same computer, then you can create...

Android Studio How To Run Gradle Sync Manually?

Image
Answer : Android studio should have this button in the toolbar marked "Sync project with Gradle Files" EDIT: I don't know when it was changed but it now looks like this: EDIT: This is what it looks like on 3.3.1 OR by going to File -> Sync Project with Gradle Files from the menubar. WARNING : --recompile-scripts command has been deprecated since gradle 's version 5.0. To check your gradle version, run gradle -v . ./gradlew --recompile-scripts it will do a sync without building anything. Alternatively, with command line in your root project ./gradlew build It will sync and build your app, and take longer than just a Gradle sync To see all available gradle task, use ./gradlew tasks In Android Studio 3.3 it is here: According to the answer https://stackoverflow.com/a/49576954/2914140 in Android Studio 3.1 it is here: This command is moved to File > Sync Project with Gradle Files .