I have a gradle project imported into VSCode. I'm new to both gradle and vscode. When I initially imported my project, I didn't have any compilation errors, and it was building just fine. Now, after running gradlew clean
, I have red squiggly lines everywhere (even on the Java String
keyword).
How do I fix this? I'm looking for the gradle equivalent of mvn install
basically, or a way to sync my gradle, if that makes sense.
Open your gradle. properties file in Android Studio. Restart Android Studio for your changes to take effect. Click Sync Project with Gradle Files to sync your project.
To sync and refresh you gradle
dependencies from VSCode.
cd android
./gradlew --refresh-dependencies
Chill Pill :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With