How to add Hilt dependencies on “libs.versions.toml” file in android studio

  Kiến thức lập trình

I am using Android Studio Iguana | 2023.2.1 Patch 1. Create sample project it default configured build.gradle.kts(app) in this gradle “libs.versions.toml” file created,

Now i add hilt on toml file after that, the file not showing in build.gradle. Attached screenshot please guide me to solve this build issue.

implementation(libs.hilt) showing error

enter image description here

LEAVE A COMMENT