1. New Project
2. Apply for the Gold Key
1. Sign up for the gold developer
2. Gold Personal Center Application key
3. Fill in the information
Now you need to write SHA1 and PackageName.
SHA1 requires a project to be packaged to get to, package the project
Go to java->bin directory keytool-list-v-keystore E:\RN\ShareUmbrella\android\app\xx.keystore---Back to my directory
You can see the SHA1
PackageName into the project Android\app\src\main can see androidmanifest.xml inside the package= "package name" inside the package name is Packagsname
Enter the information at this point to get the key
3. Because I'm not very good at Java, so I found the plug-in online
Https://github.com/qiuxiang/react-native-amap3d;
Https://github.com/react-native-component/react-native-smart-amap-location
I used the first one.
As long as the key is correct, it can be positioned.
React-native Android Access Gold map