Get the publishing security code SHA 1:
Open Android Studio and select the console:
Enter keytool-list-v-keystore amapdemo.jks.
AmapDemo is the name of key.
Get the debug version of the security code SHA 1.
keytool-list-v-keystore debug . keystore
Keytool is not an internal or external command, nor is it a runnable program or batch file.
This may be because you have not installed JAVA JDK.
Configure the key in build.gradle