# R is unresolved

**URL:** <https://discuss.kotlinlang.org/t/r-is-unresolved/9345>\
**Category:** Android\
**Created:** [September 7, 2018, 1:03am UTC](https://discuss.kotlinlang.org/t/r-is-unresolved/9345 "2018-09-07T01:03:00Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![Analizer](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@Analizer](https://discuss.kotlinlang.org/u/Analizer)\
**Post date:** [March 20, 2019, 11:40am UTC](https://discuss.kotlinlang.org/t/r-is-unresolved/9345/22 "2019-03-20T11:40:12Z")

</div>

Same issue here, only thing that worked was to update Android Studio to 3.4 RC2

---

<div class="post-metadata">

**Author:** ![gloc-mike](https://avatars.discourse-cdn.com/v4/letter/g/e99b99/32.png) [@gloc-mike](https://discuss.kotlinlang.org/u/gloc-mike)\
**Post date:** [April 19, 2019, 2:08pm UTC](https://discuss.kotlinlang.org/t/r-is-unresolved/9345/23 "2019-04-19T14:08:20Z")

</div>

Thanks a lot for the info! This solved my problem!  
😁🥂

---

<div class="post-metadata">

**Author:** ![PerfilevVA](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@PerfilevVA](https://discuss.kotlinlang.org/u/PerfilevVA)\
**Post date:** [August 22, 2019, 4:55am UTC](https://discuss.kotlinlang.org/t/r-is-unresolved/9345/24 "2019-08-22T04:55:59Z")

</div>

Try to check your applicationId in build.gradle and package attribute in your manifest.

---

<div class="post-metadata">

**Author:** ![mitra.1](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mitra.1](https://discuss.kotlinlang.org/u/mitra.1)\
**Post date:** [January 20, 2020, 7:52am UTC](https://discuss.kotlinlang.org/t/r-is-unresolved/9345/25 "2020-01-20T07:52:53Z")

</div>

Thanks a lot for this! This solved my problem!

---

<div class="post-metadata">

**Author:** ![thepdatoipm](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@thepdatoipm](https://discuss.kotlinlang.org/u/thepdatoipm)\
**Post date:** [April 18, 2020, 1:20am UTC](https://discuss.kotlinlang.org/t/r-is-unresolved/9345/26 "2020-04-18T01:20:17Z")

</div>

I have to say that God sent you to save my life :))))

---

<div class="post-metadata">

**Author:** ![17frankajay](https://avatars.discourse-cdn.com/v4/letter/1/e5b9ba/32.png) [@17frankajay](https://discuss.kotlinlang.org/u/17frankajay)\
**Post date:** [September 14, 2022, 1:48pm UTC](https://discuss.kotlinlang.org/t/r-is-unresolved/9345/27 "2022-09-14T13:48:26Z")

</div>

Having the same error in Android studio chipmuk in Mac.  
And suggesting to implement the ‘app’ in androidTestImplementation in dependancies as  
androidTestImplementation project(path: ‘:app’)

This solves the issue and test cases passed, but I am sure this is not the right fix, since I don’t remember I have added this line in my gradle earlier in Linux machines. And this implementation may cause a recursive implementation because the “androidTest” is already in the “app” folder, and now we imoplement the “app” inside “androidTestImplementation” looks confusing. anyhow tests works.

[Previous page](https://discuss.kotlinlang.org/t/r-is-unresolved/9345.md?page=1)
