@TomasMoskala wrote:
Hi,
I installed background-geolocation and cannot build the app in Android studio anymorenpm install @mauron85/cordova-plugin-background-geolocation
npm install @ionic-native/background-geolocation
ionic cap syncAndroid 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?
Posts: 1
Participants: 1