java.lang.SecurityException: Permission Denial: Intent android


When i deploy into android devices, suddenly it’s not running automatically and i got this:

1
java.lang.SecurityException: Permission Denial: Intent

To solve, please add “android:exported=”true” and make sure no duplicate activity in your Manifest.xml.

1
2
3
4
5
6
<application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/CustomActionBarTheme"
        android:exported="true" >

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.