title: adb shell command to check the apk is debug or release signed?
body: <p>How to check if apk is debug or release signed?<br>
  Is there any direct adb command to verify apk signature?</p>
  
  <p>Tried the following <code>dumpsys</code> and <code>aapt</code> commands, but I am not able to find the exact flag</p>
  
  <pre><code>adb shell dumpsys package &lt;package name&gt;
  aapt dump badging &lt;apk file&gt;
  </code></pre>
  
  <p>How to find out the given apk is debug or release signed? How to know which builds (user, userdebug or eng) we can install this apk?</p>