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

compileSdkVersion error #470

Closed
canerd7u opened this issue Feb 29, 2020 · 8 comments
Closed

compileSdkVersion error #470

canerd7u opened this issue Feb 29, 2020 · 8 comments
Labels
stale auto labeled abandoned issues after a period of inactivity

Comments

@canerd7u
Copy link

  • What went wrong:
    A problem occurred configuring project ':@mauron85_react-native-background-geolocation-common'.

compileSdkVersion is not specified.

@Daavidaviid
Copy link

Check #468

@gusilveiramp
Copy link

@canerd7u just add this to your settings.gradle file:

include ':@mauron85_react-native-background-geolocation-common' project(':@mauron85_react-native-background-geolocation-common').projectDir = new File(rootProject.projectDir, '../node_modules/@mauron85/react-native-background-geolocation/android/common') include ':@mauron85_react-native-background-geolocation' project(':@mauron85_react-native-background-geolocation').projectDir = new File(rootProject.projectDir, '../node_modules/@mauron85/react-native-background-geolocation/android/lib')

Exactly as described here:
https://github.com/mauron85/react-native-background-geolocation#android-setup

The automatic link is not working correctly for these dependencies.

@ibrahnerd7
Copy link

ibrahnerd7 commented May 25, 2020

It works for me!

@samuk190
Copy link

samuk190 commented Jul 5, 2020

@canerd7u just add this to your settings.gradle file:

include ':@mauron85_react-native-background-geolocation-common' project(':@mauron85_react-native-background-geolocation-common').projectDir = new File(rootProject.projectDir, '../node_modules/@mauron85/react-native-background-geolocation/android/common') include ':@mauron85_react-native-background-geolocation' project(':@mauron85_react-native-background-geolocation').projectDir = new File(rootProject.projectDir, '../node_modules/@mauron85/react-native-background-geolocation/android/lib')

Exactly as described here:
https://github.com/mauron85/react-native-background-geolocation#android-setup

The automatic link is not working correctly for these dependencies.

after that I get this error:

C:\PROJETOS\RA VIGILANCIA\ramobile\android\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:101: error: cannot find symbol new BackgroundGeolocationPackage(), ^ symbol: class BackgroundGeolocationPackage location: class PackageList

And after putting the package into the Package List

it give error promise

@samuk190
Copy link

samuk190 commented Jul 5, 2020

error: package com.marianhello.bgloc.react does not exist
import com.marianhello.bgloc.react.BackgroundGeolocationPackage;

Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 13s

at makeError (C:\PROJETOS\RA VIGILANCIA\ramobile\node_modules\execa\index.js:174:9)
at Promise.all.then.arr (C:\PROJETOS\RA VIGILANCIA\ramobile\node_modules\execa\index.js:278:16)
at process._tickCallback (internal/process/next_tick.js:68:7)

@stale
Copy link

stale bot commented Jan 10, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale auto labeled abandoned issues after a period of inactivity label Jan 10, 2021
@stale
Copy link

stale bot commented Jan 23, 2021

This issue has been automatically closed, because it has not had recent activity. If you believe this issue shouldn't be closed, please reopen or write down a comment requesting issue reopening with explanation why you think it's important. Thank you for your contributions.

@stale stale bot closed this as completed Jan 23, 2021
@helloeyesimple
Copy link

error: package com.marianhello.bgloc.react does not exist import com.marianhello.bgloc.react.BackgroundGeolocationPackage;

Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  • Get more help at https://help.gradle.org

BUILD FAILED in 13s

at makeError (C:\PROJETOS\RA VIGILANCIA\ramobile\node_modules\execa\index.js:174:9)
at Promise.all.then.arr (C:\PROJETOS\RA VIGILANCIA\ramobile\node_modules\execa\index.js:278:16)
at process._tickCallback (internal/process/next_tick.js:68:7)

how did you resolved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale auto labeled abandoned issues after a period of inactivity
Projects
None yet
Development

No branches or pull requests

6 participants