react-native-maps-directions-example icon indicating copy to clipboard operation
react-native-maps-directions-example copied to clipboard

react-native-maps-directions-example fails to build and install

Open Nsengiyunva opened this issue 6 years ago • 3 comments

I cloned the repository here(https://github.com/bramus/react-native-maps-directions-example.git): and then i faced 2 issues:

  • yarn install fails because off this line 11 "preinstall": "mkdir -p ./node_modules && touch ./node_modules/.metadata_never_index" in the package.json I resolved the above issue by first commenting/removing the line off the package.json file

  • on react-native run-android fails to install on the android device because of the error: -> see screenshot below image

Nsengiyunva avatar Nov 19 '19 22:11 Nsengiyunva

Thanks for reporting this @Nsengiyunva.

I've fixed the yarn install issue, but still need to take a deeper look into the Android issue … must admit I haven't tested this demo app on Android yet 😬

bramus avatar Dec 12 '19 23:12 bramus

@Nsengiyunva change package name in mainapplication.java to "package com.rnmapsexample;"

nagdev-k avatar Jan 15 '20 08:01 nagdev-k

case build for IOS: cd ios && pod install

SDEverton avatar Jun 11 '20 18:06 SDEverton