qiuxiang / react-native-amap3d

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

Class 'AMap 3DPackage' is not abstract and does not implement abstract member public abstract fun createJSModules() #444

Open lushtree-cn-honeyzhao opened 6 years ago

lushtree-cn-honeyzhao commented 6 years ago

"react": "^16.6.1", "react-native": "0.54.0", gradle 4.1 出现的问题是: \node_modules\react-native-amap3d\lib\android\src\main\java\cn\qiuxiang\react\amap3d\AMap3DPackage.kt: (9, 1): Class 'AMap 3DPackage' is not abstract and does not implement abstract member public abstract fun createJSModules(): (Mutable)List<Class<out JavaScriptModule!>!>! defined in com.facebook.react.ReactPackage

qiuxiang commented 6 years ago

不确定是不是 0.54 导致的这个问题,至少 0.52 是不存在的,我是测试过的,最新的 0.57 也不可能出现这个问题,因为 createJSModules 都已经被移除了。

建议你换个版本。

GrootWanggg commented 5 years ago

我的是 0.57 也有这个问题,并且 在 react-native-amap-geolocation 中也报这个错误了

请问怎么解决的?