title: Android Studio pm install aborted
body: <p>Im trying to run an application on my GS5 from android studio and Im getting this: </p>
  
  <pre><code>Waiting for device.
  Target device: samsung-sm_g900v-f3af9744
  Uploading file
  local path: D:\Android\Projects\TestProject\build\outputs\apk\TestProject-debug.apk
  remote path: /data/local/tmp/com.brian.testproject
  Installing com.datascan.mobilescripts
  DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.brian.testproject"
  Aborted
  </code></pre>
  
  <p>It seems to be copying the file to the device, I can see it in the /data/local/tmp directory. Its just failing at the "pm install" stage.</p>
  
  <p>On the phone I turned on USB Debugging and authorized the computer. Here is what I get when I run ADB devices:</p>
  
  <pre><code>D:\Android\sdk\platform-tools&gt;adb devices
  List of devices attached
  f3af9744        device
  </code></pre>
  
  <p>So that seems to be correct. Im not really sure what the problem is. Google search on the problem didnt give me any relevant results.</p>
  
  <p>Does anyone know how to get more information beyond "Aborted"? Any help is appreciated, Thanks!</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>As suggested by @AlexP. I ran "adb logcat -d -s PackageManager:*", this was the result:</p>
  
  <pre><code>D:\Android\sdk\platform-tools&gt;adb logcat -d -s PackageManager:*
  --------- beginning of main
  --------- beginning of system
  </code></pre>
  
  <p>Not much help, but I did decide to watch the logcat as the pm install was being run and I found this error entry:</p>
  
  <pre><code>Tag=appproc  |  Text= ERROR: Could not find class 'com.android.commands.pm.Pm'
  Tag=art      |  Text= art.runtime/thread.cc:1105] No pending exeption expected: java.lang.ClassNotFoundException: Didn't find class "com.android.commands.pm.Pm" on path: DexPathList[[zip file "/system/framework/pm.jar"],nativeLibraryDirectories=]/vendor/lib, /system/lib]]
  </code></pre>
  
  <p>Followed by a whole slew of art error entries.</p>
  
  <p>So it seems as though my phone is missing something, maybe?</p>