qiuxiang / react-native-amap3d

react-native 高德地图组件,使用最新 3D SDK,支持 Android + iOS
https://qiuxiang.github.io/react-native-amap3d/api/
MIT License
1.28k stars 330 forks source link

启动报错Execution failed for task ':react-native-amap3d:compileDebugKotlin' #702

Closed niuzhaoxia closed 2 years ago

niuzhaoxia commented 2 years ago

"react-native": "^0.62.3", "react-native-amap3d": "^3.0.3",

报错: Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.5.1/userguide/command_line_interface.html#sec:command_line_warnings 747 actionable tasks: 13 executed, 734 up-to-date e: D:\a_work\youyouProject\app\youyouProject\node_modules\react-native-amap3d\lib\android\src\main\java\qiuxiang\amap3d\Utils.kt: (36, 43): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type ReadableMap? e: D:\a_work\youyouProject\app\youyouProject\node_modules\react-native-amap3d\lib\android\src\main\java\qiuxiang\amap3d\map_view\MapView.kt: (157, 57): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type ReadableMap? e: D:\a_work\youyouProject\app\youyouProject\node_modules\react-native-amap3d\lib\android\src\main\java\qiuxiang\amap3d\map_view\MultiPoint.kt: (41, 43): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type ReadableMap?

FAILURE: Build failed with an exception.

LiJingCute commented 1 year ago

如何改的啊?