Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
305 views
in Technique[技术] by (71.8m points)

android - 当我使用react-native-geolocation-service时,为什么Android会寻找RNCGeolocation?(Why is android looking for RNCGeolocation when I use react-native-geolocation-service?)

Trying to get an android version of a react-native 0.61.2 app running...

(试图让Android版本的React-native 0.61.2应用程序正在运行...)

The app intends to use react-native-geolocation-service but can not get past this error:

(该应用程序打算使用react-native-geolocation-service但无法摆脱此错误:)

"Error: @react-native-community/geolocation: NativeModule.RNCGeolocation is null."

(“错误:@ react-native-community /地理位置:NativeModule.RNCGeolocation为空。”)

在此处输入图片说明

I understand that react-native-geolocation-service uses @react-native-community/geolocation on iOS but this is android.

(我知道, react-native-geolocation-service在iOS上使用@react-native-community/geolocation ,但这是android。)

I have searched the entire project for the string RNCGeolocation and it's not there.

(我已经在整个项目中搜索了字符串RNCGeolocation,但它不存在。)

How can I get running with react-native-geolocation-service on android?

(如何在Android上使用react-native-geolocation-service运行?)

  ask by Joe Beuckman translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...