Skip to content

请亲爱的作者适配android12 安全组件导出设置android:exported 指定显式值 #18

Description

@liuxiting

sdk 设置为31及以上会报错如下:
android:exported needs to be explicitly specified for element <receiver#com.open.hule.library.downlo

在target到Android12之后,所有设置了intent filters的activity、services、broadcast receivers都需要设置 android:exported ,否则会导致编译异常。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions