You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When updating from v20.28 to v20.31 android build fails with "This declaration needs opt-in. Its usage must be marked with '@kotlin.ExperimentalStdlibApi"
#4678
Open
2 tasks done
Overtorment opened this issue
Jan 5, 2025
· 0 comments
Trying to update Detox, and cant compile android build , get error:
e: file:///xxxxx/node_modules/detox/android/detox/src/full/java/com/wix/detox/reactnative/idlingresources/ReactNativeIdlingResources.kt:115:29 This declaration needs opt-in. Its usage must be marked with '@kotlin.ExperimentalStdlibApi' or '@OptIn(kotlin.ExperimentalStdlibApi::class)'
looks like minor issue, but it is inside detox internals, in node_modules.
tried to bump kotlin version to latest, but that didnt solve it.
managed to solve it by adding compiler args to my build.gradle:
Detox version: 20.31
React Native version: 0.75.4
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version: na
Device model: na
Android version: na
Test-runner (select one): na
Detox logs
Detox logs
paste logs here!
Device logs
Device logs
paste your device.log here!
More data, please!
No response
The text was updated successfully, but these errors were encountered:
What happened?
Trying to update Detox, and cant compile android build , get error:
looks like minor issue, but it is inside detox internals, in node_modules.
tried to bump kotlin version to latest, but that didnt solve it.
managed to solve it by adding compiler args to my build.gradle:
but that doesnt feel right
What was the expected behaviour?
No response
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
the issue reproduces pretty reliably on our CI: BlueWallet/BlueWallet#7431
In what environment did this happen?
Detox version: 20.31
React Native version: 0.75.4
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version: na
Device model: na
Android version: na
Test-runner (select one): na
Detox logs
Detox logs
Device logs
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: