skip to Main Content

Android Studio – Execution failed for task ':app:kaptDebugKotlin' – Error Occurs while using Hilt

Added hilt dependencies: Build.gradle(project) def hilt_version = "2.38.1" classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version" Build.gradle(app) plugins { id 'dagger.hilt.android.plugin' .... } .... dependencies { implementation "com.google.dagger:hilt-android:2.38.1" kapt "com.google.dagger:hilt-compiler:2.38.1" ....... } I also have a global application class: MyApplication.kt @HiltAndroidApp class MyApplication : Application() In…

VIEW QUESTION

Android Studio – Could not find method dependencyResolutionManagement() for arguments

I'm trying to use a project which my teacher gave to me, but it shows me an error Settings file '/Users/admin/AndroidStudioProjects/HTTPNetworking/settings.gradle' line: 1 A problem occurred evaluating settings 'HTTPNetworking'. > Could not find method dependencyResolutionManagement() for arguments [settings_d1xerae4a210x6r7efckrwyki$_run_closure1@580a3803] on settings…

VIEW QUESTION
Back To Top
Search