0

I want to sync my project with its dependencies using Windows Command Line. Is there any way to do this? I have read a few posts about this problem but none of theme worked. Can anyone help me?

1 Answer 1

1

"Sync Project with Gradle Files" is only Android Studio's problem. Android Studio needs to take a look at your project and cache some values. It has nothing to do with the actual build, which can be invoked standalone from the command line.

When you open the project in Android Studio or when you make any changes to the build script in text editor while the project is opened, you will have to re-sync, so the dialogs, such as Project Structure dialog, show the correct values.

There's no reason and no way to "Sync [Android Studio] Project with Gradle Files" from command line, and that's fine. Android Studio does it when needed, or tells you to do it, and nobody else besides Android Studio cares.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.