-
Notifications
You must be signed in to change notification settings - Fork 324
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
iOS真机上报"AMapView" was not found in the UlManager和null is not an object (evaluating 'AMapSdk.initSDK')错误 #775
Comments
@qiuxiang 大佬知道这个问题如何解决吗 |
@sunnylqm @xhuang3 @summer88123 请问这个如何解决 |
我好像回答过你一模一样的问题? reactnativecn/react-native-website#618 |
|
检查podfile.lock中有amap吗 |
没有,但是我确实是先pod install 再yarn ios的。请问有什么解决办法吗 |
贴下package.json |
|
react-native是0.68.2的话,react-native-amap3d用3.1.1即可 |
用了3.1.1在podfile.lock中还是没有amap,请问如何手动引入 |
font{
line-height: 1.6;
}
ul,ol{
padding-left: 20px;
list-style-position: inside;
}
不需要手动引入,按照readme就行,yarn add react-native-amap3d安装完直接pod install
…---- 回复的原邮件 ----
发件人
***@***.***>
发送日期
2022年11月29日 20:42
收件人
***@***.***>
抄送人
***@***.***>
,
***@***.***>
主题
Re: [qiuxiang/react-native-amap3d] iOS真机上报"AMapView" was not found in the UlManager和null is not an object (evaluating 'AMapSdk.initSDK')错误 (Issue #775)
react-native是0.68.2的话,react-native-amap3d用3.1.1即可
用了3.1.1在podfile.lock中还是没有amap,请问如何手动引入
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
font{
line-height: 1.6;
}
ul,ol{
padding-left: 20px;
list-style-position: inside;
}
用3.1.1你就会看到,之后因为发布了react-native 0.70作者升级了,好想就存在需要手动引入的问题
…---- 回复的原邮件 ----
发件人
***@***.***>
发送日期
2022年11月29日 20:50
收件人
***@***.***>
抄送人
***@***.***>
,
***@***.***>
主题
Re: [qiuxiang/react-native-amap3d] iOS真机上报"AMapView" was not found in the UlManager和null is not an object (evaluating 'AMapSdk.initSDK')错误 (Issue #775)
就是直接pod install 没有看到有引入。但是安装react-native-amap-geolocation 这个插件pod install 有引入
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
请问该如何解决 |
|
pod install后,把xcode关了重新打开,终端也重新yarn start试试 |
用yarn 安装可以成功,但是npm有大概率是不行的 |
RN版本0.68.2 amap 3.1.2
![WechatIMG129](https://user-images.githubusercontent.com/30898947/204419920-6b7d5bc8-3c35-409d-9d98-1bd83854dd9e.jpeg)
![WechatIMG128](https://user-images.githubusercontent.com/30898947/204419941-14ce5258-3066-48e3-a87b-8042cd6db072.jpeg)
The text was updated successfully, but these errors were encountered: