Android Studio error: “Manifest merger failed: Apps targeting Android 12” [duplicate]

You need to specify android:exported=”false” or android:exported=”true” Manifest: <activity android:name=”.MainActivity” android:exported=”true” android:theme=”@style/Theme.MyApplication.NoActionBar”> <intent-filter> <action android:name=”android.intent.action.MAIN” /> <category android:name=”android.intent.category.LAUNCHER” /> </intent-filter> </activity> as mentioned in the document: If your app targets Android 12 and contains activities, services, or broadcast receivers that use intent filters, you must explicitly declare the android: exported attribute for these app components. … Read more

What causes java.lang.IncompatibleClassChangeError?

This means that you have made some incompatible binary changes to the library without recompiling the client code. Java Language Specification §13 details all such changes, most prominently, changing non-static non-private fields/methods to be static or vice versa. Recompile the client code against the new library, and you should be good to go. UPDATE: If … Read more