I am new to Android development, and was wondering why a library like AudioManager
(android.media.AudioManager
) can be used, but when I try to navigate to the code of AudioManager
, half the source code is red.
For example, it says,
cannot resolve symbol SystemService"
Do I need to add some kind of dependency somewhere?
This means that when I debug through AudioManager
, the bytecode does not match what appears on the screen and the debug is useless.
I've tried looking at other posts and changing my SDK version to 27 and my minimum version up to 23.
Thanks in advance.