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

More than 3 years have passed since last update.

[Android]setContentViewのエラー

Posted at

setContentViewのエラー

何かの弾みで出てきたsetContentViewのエラー

![1FA7A903-A340-4B06-A118-3C263638BAF2_4_5005_c.jpeg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/663065/c53c34c3-65dd-b3f0-bfbd-2bfb708cdc45.jpeg)

いつからエラーなっていた

どうやって直したか

C511D71C-F03C-44DC-95FC-BBD2127E4F99_4_5005_c.jpeg

ここの import android.R を消したら治りました

自分の場合だったらjavaの記事をコピペし、

kotlinに自動変換中にインポートされたとのが原因だと思います

こいつのお陰で30分も失いました

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