How do i fix error Namespace not specified AGP 8.5.1
I’m encountering a “Namespace not specified” error while working on my Android project. I’ve confirmed that my Android Gradle Plugin (AGP) is updated to version 8.5.1, and I’m using Android Studio 2024.1.1.12 on Windows. Despite trying to update AGP through the updater assistant, it appears that I’m already running the latest version. Below is the content of my build.gradle.kts file for reference. Any help in resolving this issue would be greatly appreciated!
This is my current code: