LoginSignup
4
0

More than 1 year has passed since last update.

Execution failed for task ':app:kaptDevelopDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution > java.lang.reflect.InvocationTargetException (no error message) というエラーが出た時

Last updated at Posted at 2022-03-27

初めに

ビルド実行時に AndroidStudioで

Execution failed for task ':app:kaptDevelopDebugKotlin'.
 > A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
  > java.lang.reflect.InvocationTargetException (no error message)

というエラーが発生した時の対処をここに残します
※エラー自体を解消するものではありません、エラーの内容を把握するためのものです

翻訳

タスク':app:kaptDevelopDebugKotlin'の実行に失敗しました。
 >org.jetbrains.kotlin.gradle.internal.KaptExecutionの実行中にエラーが発生しました
  > java.lang.reflect.InvocationTargetException(エラーメッセージなし)

エラーメッセージが無く何が原因か、何をすれば解決するのかがわからない状態です

実行すること

AndroidStudioの左上 
Analyze(分析) >  Inspect Code(コードの検査) 
 >whole project(プロジェクト全体) にチェックで OK

スクリーンショット 2022-03-27 22.30.26.png

これで原因となるエラーの元を分析してくれます

4
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
0