With this android project, none of the dependencies get recognized and all the import give the error The import XX.XX cannot be resolved.
Environment
- Operating System: Windows 11
- JDK version: oracle java 19.0.2
- Visual Studio Code version: 1.78.2
- Java extension version: v1.19.2023052604 (latest)
Steps To Reproduce
- Clone https://github.com/KaarinGaming/AndroidGameTutorial/tree/master.
- You might need to manually set the sources folders in
app/build.gradle.
- Wait for Gradle and the Java Server to init and download all the dependencies.
Current Result
None of the import is recognized and get the error The import XX.XX cannot be resolved.
Expected Result
No error on the imports.
Additional Informations
I changed the plugin version multiple time, reinstalled it, cleared the gradle cache multiple time, cleaned the Java Language Server multiple time, restarted VSCode multiple time and nothing was able to fix it.
The build (./gradlew build) do work completely fine.
With this android project, none of the dependencies get recognized and all the import give the error
The import XX.XX cannot be resolved.Environment
Steps To Reproduce
app/build.gradle.Current Result
None of the import is recognized and get the error
The import XX.XX cannot be resolved.Expected Result
No error on the imports.
Additional Informations
I changed the plugin version multiple time, reinstalled it, cleared the gradle cache multiple time, cleaned the Java Language Server multiple time, restarted VSCode multiple time and nothing was able to fix it.
The build (
./gradlew build) do work completely fine.