title: how to create an Android project from the command line
body: <p>I'm trying to create an Android project from the command line.</p>
  
  <p>I tried what it is on the following link:</p>
  
  <p><a href="https://stackoverflow.com/questions/20801042/how-to-create-android-project-with-gradle-from-command-line#answer-23076926">How to create android project with gradle from command line?</a></p>
  
  <pre><code>android create project \
      --gradle \
      --gradle-version 0.10 \
      --activity Main \
      --package com.example.app \
      --target android-19 \
      --path AppWithGradleTemplate
  </code></pre>
  
  <p>but I get:</p>
  
  <pre><code>**************************************************************************
  The "android" command is deprecated.
  For manual SDK, AVD, and project management, please use Android Studio.
  For command-line tools, use tools\bin\sdkmanager.bat
  and tools\bin\avdmanager.bat
  **************************************************************************
  
  Invalid or unsupported command "create project"
  
  Supported commands are:
  android list target
  android list avd
  android list device
  android create avd
  android move avd
  android delete avd
  android list sdk
  android update sdk
  </code></pre>
  
  <p>So, I think that's not an option.</p>
  
  <p>On the deprecation message they say:</p>
  
  <pre><code>For command-line tools, use tools\bin\sdkmanager.bat
  </code></pre>
  
  <p>but I don't find the way to achieve this.</p>
  
  <p>I want to specify the following parameters on the command line (among others):</p>
  
  <pre><code>- package
  - activity name
  - target
  - etc.
  </code></pre>
  
  <p>Is gradle an alternative?</p>