title: Not able to install .apks via adb
body: <p>I have been working on a particular Android application for sometime and have been able to run these apps via Android Studio quite fine before but since applying a recent update I have not been able to run the app via Android studio because of the following error: </p>
  
  <pre><code>android.os.TransactionTooLargeException
  Error: Could not access the Package Manager.  Is the system running?
  </code></pre>
  
  <p>I have tried to troubleshoot this issue by connecting via a different TCP/IP instead of through USB (thinking it was a cable fault of sorts), reinstalling ADB, removing the ADB driver and restarting Android Studio, and all of the above yielded the same error when trying to run the app from Android Studio. </p>
  
  <p>The update that was applied was the addition of the <a href="https://developers.google.com/youtube/android/player/" rel="nofollow">YouTube Android Player</a> to a fragment. The fragment that contains YouTube Player was added to FragmentManager of the parent Activity during the onCreate method of this fragment. Could this be the problem? Or am I looking in the wrong place </p>
  
  <p>Any insight would be appreciated. </p>