我在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
请帮助我。谢谢