

I pieced these steps together from the information found here and here. & new File(project.property("yourprojectname.properties")).exists()) section into the condition in which the props variable is assigned then try again. if(project.hasProperty("yourprojectname.properties") (example for Windows) yourprojectname.properties=c:\\Users\\\\signing\\yourprojectname.propertiesģ) Create yourprojectname.properties file in the location you specified in Step 2 with the following information: keystore=C:\\path\\to\\keystore\\yourapps.keystoreĤ) Modify your gradle.build file to point to yourprojectname.properties file to use the variables. The location for this file depends on your OS: /home//.gradle/ (Linux)Ģ) Add an entry pointing to yourprojectname.properties file. With this solution you get the control of using your own keystore and the magic of automation during debug and release builds.ġ) Create a gradle.properties (if you don't already have one). Yes you can go to File -> Project Structure and assign signing keystores and passwords in the Signing tab but that will put plaintext entries into your gradle.build file which means your secrets might be disclosed (especially in repository commits). This solution also gives you the ability to store your keys outside of the project directory as well as enjoy automation in the signing process. just need a bit more detailed steps in getting this keystore configured I think.You can specify your own debug keystore if you wish. This generated a SHA-1 hash, which I copied into my firebase project, and downloaded the google-services.json file.Īt the end of this section, it then talks about the "WebClientID" ? I have no idea if I need to use this? Where do I use it?Īny help is appreciated.

Now click on Toggle Task Execution/Text Mode button present on run window. After double clicking on signingReport you have seen a Run window. Click on signingReport under your application root name. so this command fails, I assume what it wants me to do is run this command for the "my-upload-key.keystore" file, which I did. How to Generate SHA1 And MD5 Certificate from Android Studio Without CMD. I don't have a file, calld "debug.keystore". Keytool -exportcert -keystore ~/.android/debug.keystore -list -v However, in the setup process, it then says "You can use your debug keystore's SHA1 hash, get it by running this command inside $ROOT/android". I followed these instructions and created the 'my-upload-key.keystore" file and put it in the /android/app folder, as well as updated the gradle.properties per the article. In the docs, it mentions using the keytool to generate your own keystore. From reading threads, people say this is most likely due to issues setting up the SHA1 hash. But when I click to continue, it throws a "DEVELOPER ERROR". I have it configured such that when I click the "sign with google" button, it works and I can select my google account.

I'm trying to follow the configure steps, but am confused on how to setup the keystore.
