如何在React Native中修复react-native-google-places api?

时间:2019-04-02 14:05:46

标签: android react-native google-places-api

我在react-native项目中使用react-native-google-places api。请按照安装过程进行操作:-

chromecasts = pychromecast.get_chromecasts()

3)在manifest.xml中添加元数据标签

1) react-native-google-places.
2) react-native link react-native-google-places.

4)在清单中添加权限

   <meta-data
            android:name="com.google.android.geo.API_KEY"
            android:value="MY API KEY"/>

5)并运行

   <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

然后收到错误消息:-

react-native run-android

请帮助我。谢谢

0 个答案:

没有答案