Android Developers
Platform Android Studio Google Play Jetpack Kotlin Docs Games
  • English
  • Bahasa Indonesia
  • Español – América Latina
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어
Sign in
  • Platform
Overview Releases Devices Wear Technology Large Screens Machine Learning Privacy Android 5G
Android Developers
  • Platform
    • Overview
    • Releases
    • Devices
    • Wear
    • Technology
    • Large Screens
    • Machine Learning
    • Privacy
    • Android 5G
  • Android Studio
  • Google Play
  • Jetpack
  • Kotlin
  • Docs
  • Games
  • All Android releases
  • Android 11
  • Home
  • Privacy updates
  • Overview
  • Storage
  • Permissions
  • Location
  • Package visibility
  • Data access auditing
  • MAC addresses
  • Foreground services
  • Features and APIs
  • Overview
  • Add 5G capabilities to your app
  • Captive portal API support
  • Secure sharing of large datasets
  • People and conversations
  • Android in the Enterprise
  • Toasts
  • Control external devices
  • Integrate autofill with keyboards
  • Behavior changes for apps
  • All apps
  • Apps targeting Android 11
  • Non-SDK restrictions
  • Get started with Android 11
  • Migrate your apps
  • Get Android 11
  • Set up the SDK
  • Reference updates
  • API Diff Report (API 30)
  • Broadcast Intents (API 30)
  • Common Intents (API 30)
  • Compatibility framework changes (Android 11)
  • More
  • Dashboards
  • Android Developers
  • Platform
  • Releases

Package visibility in Android 11

Android 11 introduces changes related to package visibility. These changes affect apps only if they target Android 11. For more information on these changes, view the guides about package visibility on Android.

Additional resources

For more information about the package visibility changes in Android 11, view the following materials:

Blog posts

  • Package visibility in Android 11

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2022-08-11 UTC.

  • Twitter Twitter
    Follow @AndroidDev on Twitter
  • YouTube YouTube
    Check out Android Developers on YouTube
  • LinkedIn LinkedIn
    Connect with the Android Developers community on LinkedIn
  • More Android

    • Android
    • Android for Enterprise
    • Security
    • Source
    • News
    • Blog
    • Podcasts
  • Discover

    • Gaming
    • Machine Learning
    • Privacy
    • 5G
  • Android Devices

    • Large screens
    • Wear OS
    • Android TV
    • Android for cars
    • Android Things
    • Chrome OS devices
  • Releases

    • Android 11
    • Android 10
    • Pie
    • Oreo
    • Nougat
    • Marshmallow
    • Lollipop
    • KitKat
  • Documentation and Downloads

    • Android Studio guide
    • Developers guides
    • API reference
    • Download Studio
    • Android NDK
  • Support

    • Report platform bug
    • Report documentation bug
    • Google Play support
    • Join research studies
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Privacy
  • License
  • Brand guidelines
  • Get news and tips by email Subscribe
  • English
  • Bahasa Indonesia
  • Español – América Latina
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어