jamesisaac / react-native-background-task

Periodic background tasks for React Native apps, cross-platform (iOS and Android), which run even when the app is closed.
MIT License
1.11k stars 110 forks source link

cannot build project #31

Open Shelestenko opened 6 years ago

Shelestenko commented 6 years ago

error: package com.jamesisaac.rnbackgroundtask does not exist what does that mean? how can i fix it?

marjan89 commented 6 years ago

This is an old issue but this might help someone.

So, if you linked the project with react-native link then just add implementation project(path: ':react-native-background-task') or compile project(path: ':react-native-background-task') (depending on the gradle version you'r using) to the android/app/build.gradle file under dependencies {...}.