LoginSignup
2
2

More than 5 years have passed since last update.

transformClassesWithInstantRunForDebugでClassNotFoundException

Posted at

Android StudioでInstant Runが使えるようになって喜んでいたのもつかの間.
突如 transformClassesWithInstantRunForDebug というタスクでClassNotFoundException を吐き出し,ビルドが通らなくなりました.
GitでInstantRun対応の後と前のコミットで行き来したのが原因?

エラーとなったclassは VolleyのNetworkImageView.

調べてみると IssueやらStackOverFlowにも投稿が見つかります.

明確な解決法は特に書かれていないようです.
(特にStackOverFlow,「Instant Runをdisableに」って,違う,そうじゃない)

解決

プロジェクトのクリーンでは直らず,お約束の File -> Invalidate Caches / Restart で直りました.

頻繁に起きるようだとツラいなぁ…

2
2
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
2
2