> For the complete documentation index, see [llms.txt](https://enappd.gitbook.io/ionic-5-react-capacitor-full-app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enappd.gitbook.io/ionic-5-react-capacitor-full-app/extra/troubleshooting.md).

# 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 %}
