appandflow / appandflow/react-native-safe-area-context

Task :react-native-safe-area-context:compileDebugKotlin FAILED

オープン
#690 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
2.8k
フォーク
258
平均マージ
3日 1時間
マージ済み PR(30日)
2

説明

### Description

I upgraded react native to 0.77.0. After clearing cache and installing all the node modules, when I run ./gradlew assembleDebug, I am getting this error. Its working fine for RN 0.76.5

> Task :react-native-safe-area-context:compileDebugKotlin FAILED
e: file:///Users/kaarthick/Projects/ezl-android/node_modules/react-native-safe-area-context/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaProviderManager.kt:14:27 Cannot infer type for this parameter. Please specify it explicitly.
e: file:///Users/kaarthick/Projects/ezl-android/node_modules/react-native-safe-area-context/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaProviderManager.kt:14:62 Argument type mismatch: actual type is 'com.th3rdwave.safeareacontext.SafeAreaProviderManager', but 'U!' was expected.
e: file:///Users/kaarthick/Projects/ezl-android/node_modules/react-native-safe-area-context/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaProviderManager.kt:16:16 Return type of 'getDelegate' is not a subtype of the return type of the overridden member 'fun getDelegate(): ViewManagerDelegate?' defined in 'com/th3rdwave/safeareacontext/SafeAreaProviderManager'.

### Steps to reproduce

1. Upgrade RN to 0.77.0 with Gradle 8.9 , AGP - 8.7.2 and Kotlin version 1.8.10
2. Run ./gradlew assembleDebug

### Snack or a link to a repository

null

### Safe Area Context version

4.10.9

### React Native version

0.77.0

### Platforms

Android

### Architecture

Paper (Old Architecture)

### Build type

Debug mode

### Device

Real device

### Device model

Samsung S21

### Acknowledgements

Yes

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。