Hey guys, I am really confused.
I am fetching some variable programatically from my dimens.xml.
When on evaluating expression on the android studio debugger, I get “ResourceNotFoundException”
However, the variable does get its value and works fine.
Any idea why do I get that exception when debugging?
google 1
stackoverflow 1
j
José Cardoso
02/04/2020, 10:43 AM
Are you referencing the correct
R
?
o
Ofir Bar
02/04/2020, 11:07 AM
Let’s assume I don’t, how do I get a value then?
@José Cardoso
j
José Cardoso
02/04/2020, 11:08 AM
Add the import to the correct R (if it's not already there) but it's weird because it shouldn't even compile if that's the problem
d
dawidhyzy
02/04/2020, 11:14 AM
Copy code
:warning: Using *Kotlin* to build Android applications. :google: can answer many questions.
Android Studio Integration.
Android-specific Gradle.
If not related to Kotlin, please consider using StackOverflow and/or <http://android-united.community/>.