Hi, I’m trying to build my project with expo run:android
but getting this:
> Task :expo-eas-client:compileDebugKotlin FAILED
e: /Users/lasharela/Development/oxyn/oxyn-mobile/node_modules/expo-eas-client/android/src/main/java/expo/modules/easclient/EASClientModule.kt: (13, 5): Expression 'name' of type 'String?' cannot be invoked as a function. The function 'invoke()' is not found
e: /Users/lasharela/Development/oxyn/oxyn-mobile/node_modules/expo-eas-client/android/src/main/java/expo/modules/easclient/EASClientModule.kt: (13, 5): Cannot access 'name': it is private in 'ModuleDefinitionBuilder'
e: /Users/lasharela/Development/oxyn/oxyn-mobile/node_modules/expo-eas-client/android/src/main/java/expo/modules/easclient/EASClientModule.kt: (15, 5): Unresolved reference: constants
it’s also failing with eas build
but getting slidly different error:
[stderr]
e: /home/expo/workingdir/build/node_modules/expo-eas-client/android/src/main/java/expo/modules/easclient/EASClientModule.kt: (15, 5): Unresolved reference: constants
822
w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions
823
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
824
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
825
See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
826
Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
827
Please consult deprecation warnings for more details.
828
320 actionable tasks: 320 executed
829[stderr]
FAILURE: Build failed with an exception.