title: PackageParserException: Package ...base.apk has no certificates at entry AndroidManifest.xml
body: <p>I'm running my app in debug mode and it's ok. But when I sign it and try to install apk, this error happens in Logcat, and phone shows "App is not installed".</p>
  
  <p>This is the same on every phone with &lt;7.0 android, so I thought the problem is in app signature, but I've tried <strong>both V1, V2, only V1</strong> - seems like android studio doesn't even recognise that I changed something.</p>
  
  <p>Tried to disable V2 completely with this, but no luck. </p>
  
  <pre><code>signingConfigs{
      release {
          storeFile file("keystore.jks")
          storePassword 'password'
          keyAlias 'alias'
          keyPassword 'password'
          v2SigningEnabled false
      }
  }
  </code></pre>
  
  <p>What else can I do? </p>
  
  <pre><code>C:\Program Files\Android\Android Studio\jre\jre\bin&gt;java -version
  openjdk version "1.8.0_152-release"
  OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
  OpenJDK 64-Bit Server VM (build 25.152-b01, mixed mode)    
  </code></pre>