Aktualizacje ograniczeń dotyczących interfejsu innego niż SDK w Androidzie 15
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Android 15 includes updated lists of restricted non-SDK
interfaces based on collaboration with Android developers and the latest
internal testing. Whenever possible, we make sure that public alternatives are
available before we restrict non-SDK interfaces.
If your app does not target Android 15, some of these changes
might not immediately affect you. However, while it's possible for your app to
access some non-SDK interfaces
depending on your app's target API level, using any non-SDK
method or field always carries a high risk of breaking your app.
If you are unsure if your app uses non-SDK interfaces, you can
test your app to find out. If your app relies on non-SDK
interfaces, you should begin planning a migration to SDK alternatives.
Nevertheless, we understand that some apps have valid use cases for using
non-SDK interfaces. If you can't find an alternative to using a non-SDK
interface for a feature in your app, you should
request a new public API.
Aby uzyskać pełną listę wszystkich interfejsów innych niż SDK w Androidzie 15, pobierz ten plik:
Plik: hiddenapi-flags.csv
Suma kontrolna SHA-256: 40134e205e58922a708c453726b279a296e6a1f34a988abd90cec0f3432ea5a9
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-27 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-08-27 UTC."],[],[],null,["Android 15 includes updated lists of restricted non-SDK\ninterfaces based on collaboration with Android developers and the latest\ninternal testing. Whenever possible, we make sure that public alternatives are\navailable before we restrict non-SDK interfaces.\n\nIf your app does not target Android 15, some of these changes\nmight not immediately affect you. However, while it's possible for your app to\naccess some non-SDK interfaces\n[depending on your app's target API level](/guide/app-compatibility/restrictions-non-sdk-interfaces#list-names)), using any non-SDK\nmethod or field always carries a high risk of breaking your app.\n\nIf you are unsure if your app uses non-SDK interfaces, you can\n[test your app](/guide/app-compatibility/restrictions-non-sdk-interfaces#test-for-non-sdk) to find out. If your app relies on non-SDK\ninterfaces, you should begin planning a migration to SDK alternatives.\nNevertheless, we understand that some apps have valid use cases for using\nnon-SDK interfaces. If you can't find an alternative to using a non-SDK\ninterface for a feature in your app, you should\n[request a new public API](/guide/app-compatibility/restrictions-non-sdk-interfaces#feature-request).\n\nFor a complete list of all non-SDK interfaces for Android 15, download the\nfollowing file:\n\nFile: [`hiddenapi-flags.csv`](https://dl.google.com/developers/android/vic/non-sdk/hiddenapi-flags.csv)\n\nSHA-256 checksum: `40134e205e58922a708c453726b279a296e6a1f34a988abd90cec0f3432ea5a9`"]]