Kaushal Lalani
Kaushal Lalani

Reputation: 115

Manifest Merger failed with multiple errors in Android Studio for react native

Manifest Merger failed with multiple errors in Android Studio. ->Error: android: exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for android: exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details. SVBasketball.app main manifest (this file)

Upvotes: 2

Views: 7713

Answers (1)

iLittleWizard
iLittleWizard

Reputation: 415

As the message have stated, property android:exported must be defined for an component that has an intent filter

<?xml version="1.0" encoding="utf-8"?>
<manifest>
    <application>
        <activity
            android:name=".MainActivity"
            android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>

Upvotes: 5

Related Questions