2.0.1
npx cap doctor output:
error: package android.support.v4.content does not exist
https://ionicframework.com/docs/native/camera
https://github.com/Hansel03/photoApp
ionic build
ionic capacitor add android
ionic capacitor open android
npm --version output: 6.13.4
node --version output: v12.16.1
pod --version output (iOS issues only): 1.9.1
ionic/angular 5.0.0
Android Studio 3.6.3

This is a problem on plugins not using old android support dependencies instead of AndroidX equivalent.
Capacitor 2 requires AndroidX dependencies.
It's documented on the migration guide, but since some people can face this in new apps that are not migrated from Capacitor 1, I've added some information about it on the android troubleshooting guide
@jcesarmobile Thank you so much . was getting error :
error: package android.support.v4.content does not exist
import android.support.v4.content.FileProvider;
using jetify helped to solve .
from jcesarmobile' s post --- >https://github.com/ionic-team/capacitor/pull/2832
This error occurs when some Cordova or Capacitor plugin has old android support dependencies instead of using the new AndroidX equivalent.
You should report the issue in the plugin repository so the maintainers can update the plugin to use AndroidX dependencies.
As workaround you can also patch the plugin using jetifier
```bash
npm install jetifier
npx jetify
npx cap sync android
@jcesarmobile Thank you so much . was getting error :
error: package android.support.v4.content does not exist
import android.support.v4.content.FileProvider;using jetify helped to solve .
from jcesarmobile' s post --- >#2832
Error: "package android.support.* does not exist"
This error occurs when some Cordova or Capacitor plugin has old android support dependencies instead of using the new AndroidX equivalent.
You should report the issue in the plugin repository so the maintainers can update the plugin to use AndroidX dependencies.As workaround you can also patch the plugin using jetifier
npm install jetifier npx jetify npx cap sync android
Thank you so much.
Most helpful comment
@jcesarmobile Thank you so much . was getting error :
error: package android.support.v4.content does not exist
import android.support.v4.content.FileProvider;
using jetify helped to solve .
from jcesarmobile' s post --- >https://github.com/ionic-team/capacitor/pull/2832
Error: "package android.support.* does not exist"
This error occurs when some Cordova or Capacitor plugin has old android support dependencies instead of using the new AndroidX equivalent.
You should report the issue in the plugin repository so the maintainers can update the plugin to use AndroidX dependencies.
As workaround you can also patch the plugin using jetifier
```bash
npm install jetifier
npx jetify
npx cap sync android