We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The for Android 0.77.x
> Task :react-native-navigation:compileReactNative71DebugKotlin FAILED e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/react/modal/ModalHostLayout.kt:38:44 Argument type mismatch: actual type is 'android.view.ViewStructure?', but 'android.view.ViewStructure' was expected. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/utils/ReactViewGroup.kt:3:38 Unresolved reference 'ReactViewBackgroundDrawable'. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/utils/ReactViewGroup.kt:7:29 Unresolved reference 'ReactViewBackgroundDrawable'. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/utils/ReactViewGroup.kt:7:59 Unresolved reference 'fullBorderRadius'. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/viewcontroller/LayoutDirectionApplier.kt:11:45 Argument type mismatch: actual type is 'com.facebook.react.bridge.ReactContext?', but 'android.content.Context' was expected. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/viewcontroller/LayoutDirectionApplier.kt:12:45 Argument type mismatch: actual type is 'com.facebook.react.bridge.ReactContext?', but 'android.content.Context' was expected. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/element/animators/BackgroundColorAnimator.kt:8:38 Unresolved reference 'ReactViewBackgroundDrawable'. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/element/animators/BackgroundColorAnimator.kt:14:40 Unresolved reference 'ReactViewBackgroundDrawable'. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/element/animators/BackgroundColorAnimator.kt:15:39 Unresolved reference 'ReactViewBackgroundDrawable'. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/element/animators/BackgroundColorAnimator.kt:15:95 Unresolved reference 'ReactViewBackgroundDrawable'. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/element/animators/BackgroundColorAnimator.kt:15:124 Unresolved reference 'color'. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/element/animators/BackgroundColorAnimator.kt:15:156 Unresolved reference 'ReactViewBackgroundDrawable'. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/element/animators/BackgroundColorAnimator.kt:15:185 Unresolved reference 'color'. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/element/animators/BackgroundColorAnimator.kt:21:82 Unresolved reference 'ReactViewBackgroundDrawable'. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/element/animators/BackgroundColorEvaluator.kt:5:38 Unresolved reference 'ReactViewBackgroundDrawable'. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/element/animators/BackgroundColorEvaluator.kt:7:56 Unresolved reference 'ReactViewBackgroundDrawable'. e: node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/views/element/animators/BackgroundColorEvaluator.kt:12:20 Unresolved reference 'color'. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:53:56 Argument type mismatch: actual type is 'android.view.MotionEvent?', but 'android.view.MotionEvent' was expected. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:53:70 Argument type mismatch: actual type is 'com.facebook.react.uimanager.events.EventDispatcher?', but 'com.facebook.react.uimanager.events.EventDispatcher' was expected. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:56:56 Argument type mismatch: actual type is 'android.view.MotionEvent?', but 'android.view.MotionEvent' was expected. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:56:70 Argument type mismatch: actual type is 'com.facebook.react.uimanager.events.EventDispatcher?', but 'com.facebook.react.uimanager.events.EventDispatcher' was expected. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:59:54 Argument type mismatch: actual type is 'android.view.MotionEvent?', but 'android.view.MotionEvent' was expected. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:59:68 Argument type mismatch: actual type is 'com.facebook.react.uimanager.events.EventDispatcher?', but 'com.facebook.react.uimanager.events.EventDispatcher' was expected. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:76:5 'onInterceptTouchEvent' overrides nothing. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:77:45 Argument type mismatch: actual type is 'android.view.MotionEvent?', but 'android.view.MotionEvent' was expected. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:77:52 Argument type mismatch: actual type is 'com.facebook.react.uimanager.events.EventDispatcher?', but 'com.facebook.react.uimanager.events.EventDispatcher' was expected. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:78:44 Argument type mismatch: actual type is 'android.view.MotionEvent?', but 'android.view.MotionEvent' was expected. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:81:5 'onTouchEvent' overrides nothing. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:82:45 Argument type mismatch: actual type is 'android.view.MotionEvent?', but 'android.view.MotionEvent' was expected. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:82:52 Argument type mismatch: actual type is 'com.facebook.react.uimanager.events.EventDispatcher?', but 'com.facebook.react.uimanager.events.EventDispatcher' was expected. e: node_modules/react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:83:28 Argument type mismatch: actual type is 'android.view.MotionEvent?', but 'android.view.MotionEvent' was expected.
Files that appear to be faulty
src/main/java/com/reactnativenavigation/react/modal/ModalHostLayout.kt src/main/java/com/reactnativenavigation/utils/ReactViewGroup.kt src/main/java/com/reactnativenavigation/viewcontrollers/viewcontroller/LayoutDirectionApplier.kt src/main/java/com/reactnativenavigation/views/element/animators/BackgroundColorAnimator.kt src/main/java/com/reactnativenavigation/views/element/animators/BackgroundColorEvaluator.kt src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt
But all the troubleshooting depends on these files
react-native: 0.77.x react-native-navigation: 7.40.3 java: 17 node: 22.5.1 gradle: 8.10.2 buildToolsVersion = "35.0.0" minSdkVersion = 24 compileSdkVersion = 35 targetSdkVersion = 35 ndkVersion = "27.2.12479018" kotlinVersion = "2.0.21"
android\gradle.properties newArchEnabled=false hermesEnabled=true
The text was updated successfully, but these errors were encountered:
Hi! Any solution for this? I have the same error
Sorry, something went wrong.
There is a solution but first we need to switch from 0.77.rc version to normal version. Let's wait a bit.
At last, next week, it will be released 0.77. FYI. https://github.com/facebook/react-native/releases/tag/v0.77.0-rc.6
No branches or pull requests
The for Android 0.77.x
Files that appear to be faulty
But all the troubleshooting depends on these files
react-native: 0.77.x
react-native-navigation: 7.40.3
java: 17
node: 22.5.1
gradle: 8.10.2
buildToolsVersion = "35.0.0"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 35
ndkVersion = "27.2.12479018"
kotlinVersion = "2.0.21"
android\gradle.properties
newArchEnabled=false
hermesEnabled=true
The text was updated successfully, but these errors were encountered: