https://kotlinlang.org logo
#juul-libraries
Title
# juul-libraries
c

Cilan

02/13/2022, 10:32 PM
Hello! I believe a file is missing or this file is outdated from line referencing
com.juul.sensortag.features.sensor.SensorActivityIntent
t

travis

02/13/2022, 10:37 PM
It isn't in version control because it should be generated at build time (via Exercise library, which uses KSP): https://github.com/JuulLabs/sensortag/blob/462e53c2dd6896dd0d49ebc909a2ec4d30bac4b5/app/src/androidMain/kotlin/features/sensor/SensorActivity.kt#L41
You can read more about Exercise here.
If you're having trouble, maybe try a clean/rebuild of the project and see if the
SensorActivityIntent
is properly generated?
Screenshot of the generated file (when things are working as expected) 😄 :
c

Cilan

02/13/2022, 10:40 PM
Oh I see. That makes sense, thanks
👍 1
7 Views