Skip to content Skip to sidebar Skip to footer

Execution Failed For Task ':app:kaptdebugkotlin' When I Create Moshi Data Class

When I create Moshi Data Class, It doesn't build properly The following is the Error when I try to build Execution failed for task ':app:kaptDebugKotlin'. > A failure occurred w

Solution 1:

if you're using kotlin version 1.5, update dependencies as follow:

  • Room to: 2.3.0
  • Dagger/Hilt to: 2.35.1
  • Moshi to: 1.12.0

check this question

Post a Comment for "Execution Failed For Task ':app:kaptdebugkotlin' When I Create Moshi Data Class"