I am trying to get a new ionic 6, capacitor 3.4 application to work on an Android 7.1.1 device. It builds fine, runs in the browser, but when I deploy to the device all I get is a white screen. When I look at the error in Android Studio, I get the error shown in the screen shot below.
My app is very simple. I haven’t add any code, just created a tabs template project. Any help is appreciated.
It worked finally.
npx cap copy android
npx cap open android
Did you fix that error yet?
Nope still no luck. Can someone please provide some insight as to what I need to do to get this working. This very urgent.
Try to run
ionic cap sync android
and then open the project with Android Studio.
Looks like it is missing the plugins folder.
While Capacitor does support down to Android 5.1, you need to make sure that the device’s WebView version is 60 or higher