Hi,
I installed background-geolocation and cannot build the app in Android studio anymore
npm install @mauron85/cordova-plugin-background-geolocation
npm install @ionic-native/background-geolocation
ionic cap sync
Android studio
\android\capacitor-cordova-android-plugins\src\main\java\com\evgenii\jsevaluator\JsEvaluator.java:4: error: package android.support.annotation does not exist
\android\capacitor-cordova-android-plugins\src\main\java\com\marianhello\bgloc\BackgroundGeolocationFacade.java:17: error: package android.support.v4.content does not exist
and many more.
I also installed
npm install cordova-plugin-geolocation
npm install @ionic-native/geolocation
beofre that and it worked fine but not in the background.
What did I forget about?