# setEnableVolumeLogger not found

**URL:** <https://react-native-webrtc.discourse.group/t/setenablevolumelogger-not-found/1727>\
**Category:** Android\
**Created:** [March 24, 2023, 1:49pm UTC](https://react-native-webrtc.discourse.group/t/setenablevolumelogger-not-found/1727 "2023-03-24T13:49:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hgndgn](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/hgndgn/32/708_2.png) [@hgndgn](https://react-native-webrtc.discourse.group/u/hgndgn)\
**Post date:** [March 24, 2023, 1:49pm UTC](https://react-native-webrtc.discourse.group/t/setenablevolumelogger-not-found/1727/1 "2023-03-24T13:49:48Z")

</div>

I am using the latest version of react-native-webrtc (106.0.7). When I try to build the android project, I’m getting these errors:

```
> /react-native-webrtc/android/src/main/java/com/oney/WebRTCModule/WebRTCModule.java:129:
> error: cannot find symbol adm =
> JavaAudioDeviceModule.builder(reactContext).setEnableVolumeLogger(false).createAudioDeviceModule();
> 

> /react-native-webrtc/android/src/main/java/com/oney/WebRTCModule/SerializeUtils.java:59:
> error: an enum switch case label must be the unqualified name of an
> enumeration constant case STOPPED:

```

The required method `setEnableVolumeLogger` and the enumeration `STOPPED` are not available in the `JavaAudioDeviceModule`.

How can I fix this issue?
