When running Netty gRPC server on Android I am getting the following exception

```
java.lang.IllegalStateException: channel not registered to an event loop

```

Dependencies that I use:

```
implementation 'io.grpc:grpc-kotlin-stub:1.2.0'
implementation 'io.grpc:grpc-netty-shaded:1.40.1'
implementation 'io.grpc:grpc-stub:1.40.1'
implementation 'io.grpc:grpc-protobuf-lite:1.40.1'
implementation 'io.grpc:grpc-okhttp:1.40.1'
implementation 'com.google.protobuf:protobuf-kotlin-lite:3.18.1'

```

Initializing gRPC server like that:

```
NettyServerBuilder.forPort(7001)
    .addService(Service())
    .build()
    .start()

```