Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy fix for apps targeting Android 12 #144

Open
acrespo opened this issue Mar 11, 2022 · 2 comments
Open

Easy fix for apps targeting Android 12 #144

acrespo opened this issue Mar 11, 2022 · 2 comments

Comments

@acrespo
Copy link

acrespo commented Mar 11, 2022

Library breaks build when targeting Android 12

Please add

               android:exported="false" 

to "com.github.moduth.blockcanary.ui.DisplayActivity"

Or recommend users to add

        <activity android:name="com.github.moduth.blockcanary.ui.DisplayActivity"
                android:exported="false" />

to their AndroidManifest.xml

See: https://cafonsomota.medium.com/android-12-dont-forget-to-set-android-exported-on-your-activities-services-and-receivers-3bee33f37beb

@ideav5
Copy link

ideav5 commented Mar 11, 2022 via email

@uidq1290
Copy link

uidq1290 commented Mar 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants