title: Error with pm list packages in Android adb shell
body: <p>I tried running this command <code>pm list packages &gt; package.txt</code> in adb shell in order to save all installed packages in a text file but I get the following saved in the txt file:</p>
  <p>cmd: Failure calling service package: Failed transaction (2147483646)</p>
  <p>How do I solve this problem?</p>