title: Error: app is in background uid null
body: <p>I created a new Android project on IntelliJ CE 2017.2 and got <a href="https://stackoverflow.com/questions/45103230/failed-to-resolve-com-android-supportcardview-v726-0-0-android/45342389#45342389">this error</a>. I added the maven section as described in the answer.</p>
  <p>When I run the default app that is created with the new project I get the error</p>
  <blockquote>
  <p>Error while executing: am startservice com.test.myapp/com.android.tools.fd.runtime.InstantRunService</p>
  <p>Starting service: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.test.myapp/com.android.tools.fd.runtime.InstantRunService }</p>
  <p>Error: app is in background uid null</p>
  </blockquote>
  <p>I can still open the app manually on my phone and it works, but it doesn't start automatically and I get that error message.</p>