0

why android studio hide some package?

I'm trying to use the RadioManager class from the android.hardware.radio package in an Android application, but Android Studio won't allow me to import the package. I've verified that the android.hardware.radio folder exists in my file system and I've tried cleaning the project and invalidating caches, but the issue persists. Any suggestions on how to resolve this?

  • That is not part of the Android SDK. There is no requirement for it to exist on any device. If it does exist, it may be changed by the device manufacturer. – CommonsWare Feb 23 '23 at 17:04
  • why i can see it into android sdk directory? (look image) @CommonsWare – brullomattia Feb 23 '23 at 17:16
  • There is a `RadioManager` class in the source code of the framework, at least for some versions of Android. It is not part of the SDK. – CommonsWare Feb 23 '23 at 17:23

0 Answers0