react-native-maps does not work on Android

1

I'm trying to use react-native-maps ( link ) on an Android device compiling the example but the application It closes when I select an example, because I guess it does not get properly access Google maps. If I try from the emulator the map is not shown, since it does not have Google services installed, but it does not close. I have tried to use my API KEY and it does not work either. I'm testing it since version 5.1.1.

    
asked by Carlos Quiroga 22.03.2016 в 18:36
source

1 answer

1

Hello you must create the KEY API key and then register it in the google console to create the key you must enter from the console to the next route C: \ Program Files \ Java \ jdk1.8.0_60 \ bin

and then run

keytool -genkey -v -keyalg RSA -sigalg SHA1withRSA -keystore "%USERPROFILE%\.android\debug.keystore" -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=CO"

You must validate that the file "% USERPROFILE% .android \ debug.keystore" does not exist in that route

then run

keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android

Copy the SHA1 key and paste it into the google console

and follow the instructions of react-native-maps for installation

link

Greetings I hope this helps you.

    
answered by 01.07.2016 в 19:08