---
source_url: https://www.pubnub.com/docs/sdks/android/troubleshooting
title: Troubleshooting Android SDK
updated_at: 2026-05-20T11:05:58.341Z
---

> Documentation Index
> For a curated overview of PubNub documentation, see: https://www.pubnub.com/docs/llms.txt
> For the full list of all documentation pages, see: https://www.pubnub.com/docs/llms-full.txt


# Troubleshooting Android SDK

:::warning Unsupported docs
PubNub no longer maintains Android SDK docs, but our [Java SDK](https://www.pubnub.com/docs/sdks/java) or [Kotlin SDK](https://www.pubnub.com/docs/sdks/kotlin) are fully compatible with the Android platform and you can use them to build mobile apps, ensuring stable software development.
:::

## Enable logging

The PubNub Android SDK uses `SLF4J` to provide swappable logging, which allows you to switch between different logging frameworks. All logging calls from the `SLF4J` API are delegated to the underlying logging framework.

To see the body of requests, set the log verbosity to `PNLogVerbosity.BODY`. For more information, refer to the [Configuration](https://www.pubnub.com/docs/sdks/android/api-reference/configuration#configuration) API reference page.

```java
PNConfiguration pnConfiguration = new PNConfiguration();

pnConfiguration.logVerbosity(PNLogVerbosity.BODY);
```