title: How do I generate a "Keystore" for Google Play?
body: <p>I am trying to figure out the Byzantine process for uploading an app to Google Play.</p>
  
  <p>I'm using Phonegap's Applaud system for generating my app, and in order for me to create a "release build", I need to have generated a "Keystore".</p>
  
  <p>However, when I look at Google's own <a href="http://developer.android.com/distribute/googleplay/publish/preparing.html" rel="noreferrer">Publishing Checklist</a>, there is nothing on it about a "Keystore".</p>
  
  <p>I found <a href="https://stackoverflow.com/a/6327814/184108">this answer here on Stack Overflow</a> for generating a "Keystore", which theoretically should work on Ubuntu, which is what I'm using:</p>
  
  <pre><code>keytool –genkey –v –keystore just2try.keystore –alias someKindOfName –keyalg RSA –validity 10000
  </code></pre>
  
  <p>First, what exactly should I be putting in where it says <code>someKindOfName</code>? The name of my app?</p>
  
  <p>In any case, when I run it, I get this response:</p>
  
  <pre><code>keytool error: java.lang.RuntimeException: Usage error, –genkey is not a legal command
  </code></pre>
  
  <p>I Googled for solutions, but the only ones I found were for Windows.</p>
  
  <p>Can someone provide, or point to, a slightly more user friendly step by step guide for generating this "Keystore" thing I'm supposed to have? One with working comands for Ubuntu/Linux?</p>