How to remove second launcher of the app (not default) instead of becoming a duplicate default launcher on new app update?

Issue Currently my app has two launcher icons on fresh install: <activity android:name="…MainActivity" android:exported="true" …> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts" /> </activity> <activity android:name="…ActivityStartRecordingShortcut" android:exported="true" …> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category

Continue reading

Sentry Auto-init does not work because it is disabled in the library being used

Issue I use Sentry configuration via AndroidManifest.xml. In the manifest I have these lines: <meta-data android:name="io.sentry.dsn" android:value="my_value" /> <meta-data android:name="io.sentry.traces.user-interaction.enable" android:value="true" /> <meta-data android:name="io.sentry.traces.sample-rate" android:value="1.0" /> <meta-data android:name="io.sentry.traces.profiling.sample-rate" android:value="1.0" /> But Sentry console is empty and i see this in

Continue reading

Build Failed, Missing 'package' key attribute

Issue I’m trying to generate signed apk and I keep getting this error. I searched on Google for the error but haven’t come up with anything solid. Any help would be great. Thank you. Task :app:processReleaseManifest FAILED [com.facebook.android:audience-network-sdk:6.4.0] /Users/xxxx/.gradle/caches/transforms-2/files-2.1/1208b0b00589b6f8b9220695fa10ec7b/audience-network-sdk-6.4.0/AndroidManifest.xml:12:9-55 Error:

Continue reading