title: Android Manifest's android:exported="false" prevents app from running on device
body: <p>Good day,</p>
  <p>In my simple Andorid app which is really just a webview app, I added <code>android:exported=&quot;false&quot;</code> in Android Manifest to avoid the <code>Exported service without permissions</code> warning / vulnerability.  However when I run it on my device it would give <code>App is not installed</code> error, unless I change it to <code>android:exported=&quot;true&quot;</code>, then the app would launch fine on my device.</p>
  <p>I then tried to add a permission tag as follows to avoid the &quot;Exported service without permissions&quot; warning but the app would not run again. What would be best to have the app running correctly?  I don't really need to export any service.
  The internet permissions is for some annotation links in my app which would open in an external browser.</p>
  <p>Sorry if I'm missing something basic as I'm new to Android development, thanks for any pointers.</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;   
  package=com.mymundane.app&quot;&gt;
  &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; /&gt;
  &lt;permission android:name=com.mymundane.app.mypermission&quot; 
    android:label=&quot;mypermission&quot; android:protectionLevel=&quot;signature&quot;&gt;
  &lt;/permission&gt;
  &lt;application
      android:allowBackup=&quot;true&quot;
      android:icon=&quot;@mipmap/ic_launcher&quot;
      android:label=com.mymundane.app&quot;
      android:roundIcon=&quot;@mipmap/ic_launcher_round&quot;
      android:supportsRtl=&quot;true&quot;
      android:theme=&quot;@style/AppTheme&quot;
      android:fullBackupContent=&quot;@xml/backup_descriptor&quot;&gt;
      &lt;activity android:name=com.mymundane.app.MainActivity&quot; 
          android:exported=&quot;true&quot;  android:screenOrientation=&quot;portrait&quot; 
           android:permission=com.mymundane.app.mypermission&quot;&gt;
          &lt;intent-filter&gt;
              &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt;
              &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>