2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Androidアプリのデバッグ中に "Source code does not match the bytecode"というエラーが出る

2
Last updated at Posted at 2019-12-03

エラー内容

Android Studioでアプリをデバッグ中に、以下の画像に示す
Source code does not match the bytecode
というエラーが出て正常にデバッグができない際の対処法です。

原因

Gradleで参照しているコードが最新版でない。

解決方法

その1

以下のコマンドを実行して、Gradleの依存関係をリフレッシュする。

./gradlew build --refresh-dependencies

参考

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?