title: getting Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI] in Android studio 3.0
body: <p>As per this <a href="https://commonsware.com/blog/2017/10/31/android-studio-3p0-flag-test-only.html" rel="noreferrer">blogpost</a> from CommonsWare, <code>AndroidManifest.xml</code> file can have an <code>android:testOnly</code> attribute.</p>
  
  <p>In my <code>AndroidManifest.xml</code> it is set as "false"</p>
  
  <pre><code>android:testOnly="false"
  </code></pre>
  
  <p>And I am generating the apk file using the “Build APK(s)” menu option as shown below image,</p>
  
  <p><a href="https://i.stack.imgur.com/OE9qt.png" rel="noreferrer"><img src="https://i.stack.imgur.com/OE9qt.png" alt="enter image description here"></a></p>
  
  <p>And when i am trying to install app from command line, adb install -r myapp.apk, I am still getting error,</p>
  
  <blockquote>
    <p>Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]</p>
  </blockquote>
  
  <p>Android studio version is as below,
  <a href="https://i.stack.imgur.com/e2zv9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/e2zv9.png" alt="enter image description here"></a></p>
  
  <p>What else shall I do to make my app run?</p>