I have ionic 4 cordova app. I integrated with Capacitor. Now I am trying to add Android platform and I am getting below error:
I didn't found any relevant solution on web.
I have ionic 4 cordova app. I integrated with Capacitor. Now I am trying to add Android platform and I am getting below error:
I didn't found any relevant solution on web.
It seems like you are trying to add capacitor to existing project. Try removing unsupported Cordova plugins, it should work.
Finally I found solution to this problem. Just uninstall Cordova plugins which are not supported by Capacitor. Then Add Android. Here is the list of unsupported plugins https://capacitor.ionicframework.com/docs/cordova/known-incompatible-plugins/