How ro refresh/sync a gradle project in VisualStudioCode
The command sh gradlew build
did the trick for me.
To sync gradle in VSCode.
- First open the terminal or cmd from the project folder.
- Then goto the android folder.
- Call the gradlew script.
For Ubuntu
cd android
./gradlew
To sync and refresh you gradle
dependencies from VSCode.
cd android
./gradlew --refresh-dependencies
Chill Pill :)