react-native-background-geolocation icon indicating copy to clipboard operation
react-native-background-geolocation copied to clipboard

Getting issue in android compileSdkVersion is not specified

Open pavansha opened this issue 3 years ago • 3 comments

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

pavansha avatar Nov 28 '22 12:11 pavansha

here still happens this error @darron1217

lucaspereirasouzat avatar Jan 20 '23 17:01 lucaspereirasouzat

image

lucaspereirasouzat avatar Jan 20 '23 17:01 lucaspereirasouzat

'...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!

lachierussell avatar Feb 22 '23 05:02 lachierussell