https://i.stack.imgur.com/OHfBH.png https://i.stack.imgur.com/Ma6Rc.png
hi there I am new for IntelliJ-idea and android and i have got this error and by looking through the internet the solution was adding android: exported="true" but I still get the same error help please !
You need to set android:exported="true"
in your launcher activity, like this if your app is targeting Android 12
:
<activity
android:name=".YourLauncherActivity"
android:exported="true"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.