Android Developers
Essentials
  • Modern Android
  • Quickly bring your app to life with less code, using a modern declarative approach to UI, and the simplicity of Kotlin.
  • Explore Modern Android
  • Adopt Compose for teams
  • Get started
  • Start by creating your first app. Go deeper with our training courses or explore app development on your own.
  • Hello world
  • Training courses
  • Tutorials
  • Kotlin for Android
  • Monetization with Play
  • Extend by device
  • Build apps that give your users seamless experiences from phones to tablets, watches, and more.
  • Tablets and foldables
  • Wear OS
  • Android for Cars
  • Android TV
  • ChromeOS
  • Cross-device SDK
  • Build by category
  • Learn to build for your use case by following Google's prescriptive and opinionated guidance.
  • Games
  • Media apps
  • Health & Fitness
  • Enterprise apps
  • Get the latest
  • Stay in touch with the latest releases throughout the year, join our preview programs, and give us your feedback.
  • Platform releases
  • Android Studio preview
  • Jetpack & Compose libraries
  • Wear OS preview
  • Privacy Sandbox
Design & Plan
  • Kits & more
  • Get one of our Figma kits for Android, Material Design, or Wear OS, and start designing your app's UI today.
  • Go to Android & Material kits
  • Go to Wear OS kits
  • UI Design
  • Design a beautiful user interface using Android best practices.
  • Design for Android
  • Mobile
  • Large screens
  • Wear OS
  • TV
  • Architecture
  • Design robust, testable, and maintainable app logic and services.
  • Introduction
  • Libraries
  • Navigation
  • Modularization
  • Testing
  • Quality
  • Plan for app quality and align with Play store guidelines.
  • Overview
  • Core value
  • User experience
  • Technical quality
  • Privacy & security
  • Build for Billions
  • Create the best experience for entry-level devices
  • Overview
  • About new markets
  • Android (Go edition)
Develop Google Play
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
  • Platform
Overview Releases Technology Machine Learning
Android Developers
  • Essentials
    • More
    • Overview
    • Releases
    • Technology
    • Machine Learning
  • Design & Plan
    • More
  • Develop
  • Google Play
  • 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
  • Modern Android
  • Explore Modern Android
  • Adopt Compose for teams
  • Get started
  • Hello world
  • Training courses
  • Tutorials
  • Kotlin for Android
  • Monetization with Play
  • Extend by device
  • Tablets and foldables
  • Wear OS
  • Android for Cars
  • Android TV
  • ChromeOS
  • Cross-device SDK
  • Build by category
  • Games
  • Media apps
  • Health & Fitness
  • Enterprise apps
  • Get the latest
  • Platform releases
  • Android Studio preview
  • Jetpack & Compose libraries
  • Wear OS preview
  • Privacy Sandbox
  • Kits & more
  • Go to Android & Material kits
  • Go to Wear OS kits
  • UI Design
  • Design for Android
  • Mobile
  • Large screens
  • Wear OS
  • TV
  • Architecture
  • Introduction
  • Libraries
  • Navigation
  • Modularization
  • Testing
  • Quality
  • Overview
  • Core value
  • User experience
  • Technical quality
  • Privacy & security
  • Build for Billions
  • Overview
  • About new markets
  • Android (Go edition)
  • Android Developers
  • Essentials
  • 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 2023-09-27 UTC.

  • WeChat WeChat
    Follow Google Developers on WeChat
  • Twitter Twitter
    Follow @AndroidDev on Twitter
  • YouTube YouTube
    Check out Android Developers on YouTube
  • More Android

    • Android
    • Enterprise
    • Security
    • Source
  • Support

    • Report platform bug
    • Report documentation bug
    • Google Play support
    • Join research studies
  • Documentation

    • Developer guides
    • Design guides
    • API reference
    • Samples
    • Android Studio
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Privacy
  • License
  • Brand guidelines
  • ICP证合字B2-20070004号
  • Get news and tips by email Subscribe
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어