title: react native Generating Signed APK
body: <p>I am trying to generate apk for releasing on Google play. I am following these steps <a href="https://facebook.github.io/react-native/docs/signed-apk-android.html" rel="nofollow">https://facebook.github.io/react-native/docs/signed-apk-android.html</a></p>
  
  <p>Step 1) I ran this command</p>
  
  <pre><code>$ keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000 
  </code></pre>
  
  <p>It asked me question which I answered and got the my-release-key.keystore file generated</p>
  
  <p>I placed the my-release-key.keystore file under the android/app directory in your project folder.</p>
  
  <p>Now it says: 
  Edit the file ~/.gradle/gradle.properties and add the following (replace ***** with the correct keystore password, alias and key password),</p>
  
  <pre><code>MYAPP_RELEASE_STORE_FILE=my-release-key.keystore 
  MYAPP_RELEASE_KEY_ALIAS=my-key-alias 
  MYAPP_RELEASE_STORE_PASSWORD=***** 
  MYAPP_RELEASE_KEY_PASSWORD=*****
  </code></pre>
  
  <p>Now there was no file previously in /root/.gradle/gradle.properties so i created a new file and added the above 4 constant and there values.
  Also it tells (replace ***** with the correct keystore password, alias and key password )</p>
  
  <p>This step is most confusing for me, as there is no ***** in alias field. And when I generated my-release-key.keystore file I din't get any alias </p>
  
  <p>So what I should put in place of my-key-alias ?</p>
  
  <p>What is basically my-key-alias?</p>
  
  <p>other than the 2 passwords i entered, the keytool command generated something like this </p>
  
  <pre><code>CO=Dev Abhi, OP=The Awesome Coder, L=The Awesome Coder, M=Delhi, SP=Delhi, M=IN
  </code></pre>
  
  <p>are the above the alisa?</p>
  
  <p>so do i need to replace things like </p>
  
  <pre><code>MYAPP_RELEASE_STORE_FILE=my-release-key.keystore 
  MYAPP_RELEASE_KEY_ALIAS=CO=Dev Abhi, OP=The Awesome Coder, L=The Awesome Coder, M=Delhi, SP=Delhi, M=IN 
  MYAPP_RELEASE_STORE_PASSWORD=password1
  MYAPP_RELEASE_KEY_PASSWORD=password2
  </code></pre>
  
  <p>and also Is the real path for ~/.gradle/gradle.properties  /root/.gradle/gradle.properties ??</p>