# Troubleshooting

### 1. Android Error - package android.support.design.widget does not exists

Although the app source code is already migrated to AndroidX, this error might happen when you migrate the app to AndroidX, using Android Studio.&#x20;

This error presents when the package mentioned has been updated in AndroidX. In this case, `android.support.design.widget`&#x20;

In Android Studio, search the entire application for `android.support.design.widget.CoordinatorLayout;` and replace them with `androidx.coordinatorlayout.widget.CoordinatorLayout;`

In some cases, this error might be coming from one particular plugin, e.g. AdMob. In the Admob `build.gradle` (find it in Android Studio project structure), add\
`implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'`

{% hint style="warning" %}
If you make the above changes in **`node_modules/capacitor_admob`** , then you'll have to do these changes every time you update your Android Project. It is better to be done in Android Studio project itself.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://enappd.gitbook.io/ionic-5-react-capacitor-full-app/extra/troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
