简体   繁体   中英

React Native Maps Error - Native component for "AIRMap" does not exist

I'm struggling with the Google Maps API in React Native, for Android .

I've followed the installation instructions for Android but I keep receiving the same error (see title) when I try to use the Mapview Component. I'm using the Android Studio emulator.

我收到红屏

versions: react native - 0.55.4 / react-native-maps - 0.18.0 and 0.22.0

Haven't found any online solution for Android. Does anyone has a way to get me out of this trouble?

Please, tell me if you want to see my code. Thanks!

I really struggled with this for a few days also. I think it's a bug with the installation process, and it's very frustrating their docs no longer provide manual installation instructions. Honestly, I eventually gave up and used react-native-mapbox-gl

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM