Ionic 5 React Capacitor Full App
  • What is Ionic React Capacitor Full App?
  • Understand the Frameworks
  • Template Features
  • Setup
    • Initial Setup
    • Running the app
    • Building App on device
    • Deploying app as PWA
      • Deploy PWA on Firebase
  • How to use this template
    • Two way to use this Template
    • Removing a Page / Component
    • Removing a plugin
  • Features
    • Social Logins
    • Adding Icon and Splash
    • Push Notifications
    • Pick Images using Camera and Gallery
  • Extra
    • Troubleshooting
    • FAQ
    • Changelog
Powered by GitBook
On this page

Was this helpful?

  1. Extra

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.

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

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'

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.

PreviousPick Images using Camera and GalleryNextFAQ

Last updated 4 years ago

Was this helpful?