title: How to generate signed and unsigned APK's using gradle?
body: <p>I need to generate both unsigned and signed release apks using gradle command line (<code>gradlew assembleRelease</code> is the command im using now)</p>
  
  <p>The apks must be aligned. I checked this: <a href="https://stackoverflow.com/questions/17466227/android-build-unsigned-apk-with-gradle">Build Unsigned APK with Gradle</a> but it seems to be an old way to achieve this, now it does not work and something has changed in lastest versions of android and gradle compilation. And also i need to generate both apks at same time, not only release mode or unsigned mode</p>