-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
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
TypeError: Cannot read property 'initSDK' of null #818
Comments
我貌似找到问题了 但是需要作者改一下
翻译 包react-innative-amap3d包含无效配置:不允许使用“dependent.platforms.ios.project”。请使用“react native config”命令验证它是否正确链接,并就此与包维护人员联系。 |
@qiuxiang 能不能跟新一下 react-native: 0.72.6 |
@qiuxiang 能不能跟新一下 "react-native": "0.73.0", |
|
@liucaptainapp ,然后你怎么解决得? |
@shrkh 没改 估计只有等作者更新一下了 |
安卓打包的时候react-native-amap-geolocation和react-native-amap3d有冲突 |
唉,好难哦 |
@qiuxiang 作者大佬能不能跟新一下 "react-native": "0.73.1", |
我也遇到了同样的问题,要命啊,我以为是我的问题,用是"react-native": "0.72.6",TypeError: Cannot read property 'initSDK' of null,咋处理啊,各位大佬们 |
感觉需要作者修改下配置,我现在用webview凑活用着 |
感谢🙏 |
@qiuxiang 能不能跟新一下 "react-native": "0.73.0", |
ios模拟器和真机没问题,但是安卓模拟器会报错
启动项目控制台会警告⚠️
点开地图页面的时候就会报错❌,我猜估计是上一步初始化SDK出问题了
我在源码中打印AMapSdk为null
react-native-amap-geolocation也会出现⚠️
安卓打包的时候报着个错
The text was updated successfully, but these errors were encountered: