Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot install latest on android #175

Closed
j-mendez opened this issue Apr 10, 2018 · 19 comments
Closed

cannot install latest on android #175

j-mendez opened this issue Apr 10, 2018 · 19 comments

Comments

@j-mendez
Copy link

j-mendez commented Apr 10, 2018

Your Environment

  • Plugin version:
  • Platform: iOS or Android
  • OS version:
  • Device manufacturer and model:
  • React Native version:
  • Plugin configuration options:
  • Link to your project:

Context

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :react-native-mauron85-background-geolocation-common.

Expected Behavior

Actual Behavior

Possible Fix

Steps to Reproduce

  1. Link all modules manually

Context

Debug logs

@j-mendez
Copy link
Author

Looks like there is a issue with the common folder not being resolved correctly.

@j-mendez
Copy link
Author

Received this issue

All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com/r/tools/flavorDimensions-missing-error-message.html

@mauron85
Copy link
Owner

read my comment #168 (comment)

@mauron85
Copy link
Owner

just run react-native link react-native-mauron85-background-geolocation it should do the job

@j-mendez
Copy link
Author

negative @mauron85 getting some issues with the referencing of :app

@mauron85
Copy link
Owner

@jeffreymendez1993 if you have this flavor issue related to gradle3, then please wait I'm working on it.

@j-mendez
Copy link
Author

@mauron85 downgraded my gradle I think I got it working now. Issue is with firebase. Try using firebase and gmaps together on a install and tell me if its painless haha. Also perks on gradle 3 the builds are drastically faster, but I guess not everyone is ready yet for it.

@j-mendez
Copy link
Author

Could not get unknown property 'android' for project ':app' of type org.gradle.api.Project.
is the boss I am trying to beat now.

@mauron85
Copy link
Owner

@jeffreymendez1993 that sound like project related

@mauron85 mauron85 reopened this Apr 11, 2018
@j-mendez
Copy link
Author

j-mendez commented Apr 11, 2018

not sure why I cant easily install this module on android. I used a older version that was compatible with my newer gradle that worked locally but then I cannot build it to production. @mauron85

@j-mendez
Copy link
Author

removed the package and my project built for release just perfect. I guess ill sit tight until the gradle changes are in there. If I was better at java id help.

@gtaylor44
Copy link

I'm having the same issue. Firebase made breaking changes to use gradle 3 about 18 days ago.

@equesteo
Copy link

equesteo commented May 2, 2018

I'm trying to use this library with push messaging from Firebase, but am forced to use Gradle 3 to get that installed, which is forcing me into the same problem @jeffreymendez1993 and @gtaylor44 are having. Which is a long-winded way of saying, +1 to getting this fixed. Thanks for your work, @mauron85!

@nitelite
Copy link

nitelite commented May 7, 2018

I am also using firebase, which as forced me up to gradle 3, but would love to use this lib. It's looks like exactly what we need, since transistorsoft's lib was a bit too controlling with regards to letting us have access to the raw provider etc. Dropping this thread a +1 so I can get a notification if this Gradle 3 problem gets resolved :)

@gtaylor44
Copy link

If we want to fix this ourselves, where should we be looking?

@mauron85
Copy link
Owner

mauron85 commented May 8, 2018

@gtaylor44 I've seen it done. master...vivekkiran:master

@kruyvanna
Copy link

@gtaylor44 another option
https://github.com/kruyvanna/react-native-background-geolocation

@mauron85
Copy link
Owner

mauron85 commented May 25, 2018

FYI: just added experimental support for gradle3. See #176 (comment)

@mauron85
Copy link
Owner

Marking as duplicate of #176. Closing. Let's continue discussion there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants