Where do I add android:allowAudioPlaybackCapture on the manifest file?

Viewed 1120

I've been reading this guide https://developer.android.com/guide/topics/media/playback-capture#capture_policy and it says I need to "include android:allowAudioPlaybackCapture="true in the app's manifest.xml file" but how exactly do I accomplish that? I tried adding the flag on the application header but the compiler just gave me an error.

Edit: Turns out I just needed to set my build tools version >= 28 and my compileSdkVersion to >= 29

2 Answers

It turns out I just needed to update my buildTools version to 28+ and compileSdk to 29+ on the build.gradle file.

Related