skip to Main Content

Android Studio – A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask

I have been trying to implement a mobile application which was supposed to use Dagger Hilt, Glide and Kapt. However, when I tried to implement it, i got this error error message: A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction java.lang.reflect.InvocationTargetException (no…

VIEW QUESTION

Android Studio – How to add plugins in the Android Studio Bumblebee

I want to add dagger-hilt plugin to project. classpath 'com.google.dagger:hilt-android-gradle-plugin:2.40.5' https://developer.android.com/studio/preview/features#settings-gradle plugins { id 'com.android.application' version '7.1.0-beta02' apply false id 'com.android.library' version '7.1.0-beta02' apply false id 'org.jetbrains.kotlin.android' version '1.5.30' apply false } task clean(type: Delete) { delete rootProject.buildDir } pluginManagement…

VIEW QUESTION

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
Back To Top
Search