PackageList error cannot find symbol #229
-
Hi, I am trying to follow the documentation on turbo modules: https://github.com/reactwg/react-native-new-architecture/blob/main/docs/turbo-modules.md Basically I am just copy-pasting code and running commands. But I am encountering this error on the generated code when I am trying to run the app with linked turbo module project even on dev mode
Reproducer github actions log: https://github.com/silencer07/codgen-error-reproducer-react-native/actions/runs/10951901375/job/30409695439#step:7:122 Few notes:
Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @silencer07,
apply plugin: 'com.android.library'
apply plugin: 'com.facebook.react'
+apply plugin: 'org.jetbrains.kotlin.android'
|
Beta Was this translation helpful? Give feedback.
Hey @silencer07,
Thanks for providing a reproducer, I was able to identify your issues:
apply plugin: 'com.android.library' apply plugin: 'com.facebook.react' +apply plugin: 'org.jetbrains.kotlin.android'
over here:
https://github.com/silencer07/codgen-error-reproducer-react-native/blob/main/RTNCalculator/android/build.gradle
NativeRTNCalculatorSpec
and notNativeCalculatorSpec
so you need to change those two lines: