title: App does not install on android device by an unknown failure
body: <p>I try installing my app for the first time on a Nexus 5.
  The android studio then tells me I need to uninstall my app inorder to install it (The app never exsited on the phone) and then asks me to unistall the app, I agree and he tries to unistall but an error occurs:</p>
  <blockquote>
  </blockquote>
  <pre><code>Waiting for device.
  Target device: lge-nexus_5-08a9df88021f8ec8
  Uploading file
      local path: D:\USER\Desktop\Yoav\AndroidProject\Example\app\build\outputs\apk\app-debug.apk
      remote path: /data/local/tmp/com.example.user.example
  Installing com.example.user.example
  DEVICE SHELL COMMAND: pm install -r &quot;/data/local/tmp/com.example.user.example&quot;
  pkg: /data/local/tmp/com.example.user.example
  Failure [INSTALL_FAILED_DEXOPT]
  </code></pre>
  <p>At this part the studio asks me to uninstall after pressing ok:</p>
  <blockquote>
  <p>DEVICE SHELL COMMAND: pm uninstall com.example.user.example</p>
  <p><strong>Unknown failure</strong></p>
  </blockquote>
  <p>I think it's because the app does not exsit on the phone, but if the app does not exsit why does it even want me to delete it?</p>