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

Getting issue in android compileSdkVersion is not specified #28

Open
pavansha opened this issue Nov 28, 2022 · 3 comments
Open

Getting issue in android compileSdkVersion is not specified #28

pavansha opened this issue Nov 28, 2022 · 3 comments

Comments

@pavansha
Copy link

Screenshot 2022-11-28 at 5 44 00 PM

we are getting the issue while making android builds in the newer node module version
so please look into this issue as soon as possible

our founding
we found out that common folders both in android and ios were missing while npm install so we replace from already exist project node module and it's working fine

so please review this issue as soon as possible

@lucaspereirasouzat
Copy link

here still happens this error @darron1217

@lucaspereirasouzat
Copy link

image

@lachierussell
Copy link

'...react-native-background-geolocation/android/common/VERSIONS.gradle' as it does not exist.
You can fix the VERSIONS.gradle issue by adding the common repository as a submodule.

In the modules package.json I added to the scripts section:

{
    "scripts": {
        "preinstall": "git init && git submodule add https://github.com/darron1217/background-geolocation-android android/common"
    }
}

While it's very much a band-aid solution and likely to break with a future release, I hope this helps!

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

No branches or pull requests

3 participants