question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BrowserTabActivity android:exported needs to be explicitly specified

See original GitHub issue

Xamarin.Forms [5.0.0.2515] Android Issue Microsoft.Identity.Client 4.45.0

We are updating our Xamarin Android project to target android v12.1 (API 32) from v11 to allow for new style splash screen for those users. We have had to explicitly add exported attributes to our activities and services due to this version change.

Getting an error in AndroidManifest.xml on Building/Rebuilding android:exported needs to be explicitly specified for element <activity#crc648316b0a9aa8cfd61.BrowserTabActivity>. 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.

Have tried Updating numerous Nuget Packages with the same error showing.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
SameerK-MSFTcommented, Sep 21, 2022

@TheMrChaptastic we will test API32. In the meantime, you can take a look at the MAUI samples. They have the android:exported attributes that you mentioned. It will be great, if you can move to MAUI as it is the future.

1reaction
pmaytakcommented, Sep 17, 2022

Another todo for this is to update App Center tests and add devices for v12.1 (API 32) and v13 (API 33). We currently only have v12 and v11.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java - android:exported needs to be explicitly specified for ...
I have set all the activity with android:exported="false" . But it is still showing this issue. ... Please share the crash logs here....
Read more >
Android exported needs to be explicitly specified.. SOLVED
Android exported needs to be explicitly specified.. SOLVED. 3.5K views · 1 year ago ...more. SWIK by Mir Taha Ali. 1.06K. Subscribe.
Read more >
Updated to Android 12 SDK - specify an explicit value for ` ...
I updated to Android 12 and suddenly got this strange error: ... android:exported needs to be explicitly specified for element <service#com.
Read more >
"Apps targeting Android 12 and higher are required to ...
Hey, I try to create a android bundle, but i've this message : jar ... are required to specify an explicit value for...
Read more >
AMM0000 android:exported needs to be explicitly specified ...
Hello,. It is caused by the incompatibility of the NuGet Package with Android 12. You could find the following tips by referring to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found