mauron85 / react-native-background-geolocation

Background and foreground geolocation plugin for React Native. Tracks user when app is running in background.
Apache License 2.0
1.34k stars 565 forks source link

Error on when I try to compile the production in Android #543

Open zoolle opened 3 years ago

zoolle commented 3 years ago

Today I've tried to make a production file but I got the following error which I never got it before. Till today everything was working fine.

> Task :@mauron85_react-native-background-geolocation-common:compileDebugJavaWithJavac FAILED
/Users/User/Desktop/MyApp/node_modules/@mauron85/react-native-background-geolocation/android/common/src/main/java/com/marianhello/bgloc/BackgroundGeolocationFacade.java:17: error: package android.support.v4.content does not exist
import android.support.v4.content.ContextCompat;
gigby commented 3 years ago

@zoolle Hi, check this - https://github.com/mauron85/react-native-background-geolocation/issues/265#issuecomment-720027451

genaro10 commented 3 years ago

I couldn't solve this problem. Any solution? I tried a lot of things!

gigby commented 3 years ago

I couldn't solve this problem. Any solution? I tried a lot of things!

Did you try to use jetyiier from my previous post? It helped me

genaro10 commented 3 years ago

How do I use jetyiier?

El mié, 3 nov 2021 a las 8:52, Ivan Gorelik @.***>) escribió:

I couldn't solve this problem. Any solution? I tried a lot of things!

Did you try to use jetyiier from my previous post? It helped me

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mauron85/react-native-background-geolocation/issues/543#issuecomment-958958153, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL36LJ437EKJEIXVJIQDDIDUKEO7LANCNFSM45HNUCVQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

gigby commented 3 years ago

@genaro10 Exactly as described in this post