# Unresolved reference problem

**URL:** <https://discuss.kotlinlang.org/t/unresolved-reference-problem/8950>\
**Category:** Android\
**Created:** [August 8, 2018, 6:17pm UTC](https://discuss.kotlinlang.org/t/unresolved-reference-problem/8950 "2018-08-08T18:17:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arashbas](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@arashbas](https://discuss.kotlinlang.org/u/arashbas)\
**Post date:** [August 8, 2018, 6:17pm UTC](https://discuss.kotlinlang.org/t/unresolved-reference-problem/8950/1 "2018-08-08T18:17:16Z")

</div>

![Capture](https://us1.discourse-cdn.com/flex019/uploads/kotlinlang/original/2X/f/fa6308b567c8d0677c658c400acee548d82f1c48.jpeg)

adapter cannot be recognized

---

<div class="post-metadata">

**Author:** ![tieskedh](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/tieskedh/32/2816_2.png) [@tieskedh](https://discuss.kotlinlang.org/u/tieskedh)\
**Post date:** [August 9, 2018, 12:20pm UTC](https://discuss.kotlinlang.org/t/unresolved-reference-problem/8950/2 "2018-08-09T12:20:27Z")

</div>

I miss the imports from your code.  
It should include smth like `kotlinx.android.synthetic.main.activity_main.*`

[https://kotlinlang.org/docs/tutorials/android-plugin.html](https://kotlinlang.org/docs/tutorials/android-plugin.html)
