I have been following along the Android Basics with Compose projects on the Android Developer website but my code completion suddenly stopped working in every project that I have specifically in the test directories-it still works like normal in the main directory. Syntax highlighting still works as normal. This is what my project file structure looks like.
I am using Android Studio Ladybug | 2024.2.1 Patch 3
I have tried most solutions found in other posts, including:
- Invalidating caches and rebuilding the project
- Turning off power saving mode
- Deleting the .idea folder
- Rebuilding project
- Marking the test folder as the test sources root
- Completely uninstalling and reinstalling android studio