Comments (7)
Ok, so to be clear, when you bumped your minSdkVersion it worked? I specify the minimum Android version to the readme. But I guess instructions to bump it in the gradle file should be added as well.
from react-native-background-job.
In the package I had to delete the following line
compileOptions.incremental = false
from android/build.gradle
and I had to bump the minSdkVersion to 21 in my projects android/app/build.gradle
from react-native-background-job.
Interesting, I added compileOptions.incremental = false
to the package just because my compilations were failing, but only updating minSdkVersion android/app/build.gradle
in your project did not fix the issue?
from react-native-background-job.
I am not sure if it had worked the other way round - I first fixed the problem with the compile Option and then ran into the SdkVersion error
from react-native-background-job.
Ok, could you try adding the compileOptions.incremental = false
back and see if it compiles now that you have raised the sdkVersion? I namely can't reproduce this error in my project where I have the minSdkVersion = 21.
from react-native-background-job.
Ok I tried this and now Iam back at
No such property: incremental for class: com.android.build.gradle.internal.CompileOtions_Decorated
from react-native-background-job.
Alright thanks for troubleshooting, obviously an issue with the package then. If you can submit a PR fixing that it'd be great. Otherwise I'll have a look at it during the week.
from react-native-background-job.
Related Issues (20)
- api 28 background not work HOT 1
- cannot be overwritten by another process
- Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. HOT 2
- RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground()
- None tasks are working in background after app killed in Android 10 HOT 1
- what is the use notificationTitle and notificationText , where would they appear ? , I can not see them in my app
- error: package android.support.annotation does not exist HOT 2
- Job not triggered HOT 3
- react-native-background-job doesnt work on Android 9.0 HOT 2
- implement a method from a supertype @Override
- Release "Upgrade to Android X"
- App doesn't run second time if we schedule background job.
- Could not find com.firebase:firebase-jobdispatcher:0.8.5. HOT 6
- TypeError: Cannot read properties of undefined
- IS APPLICATION RUNS EVEN I BACKGROUND
- Testing in development with periodic interval lesser than 15 minutes
- What is the supported range of Android version?
- Could not find com.firebase:firebase-jobdispatcher:0.8.5
- React Native Background Actions - App is Not Running in Background All the Time
- React Native Background Actions - App is Not Running in Background All the Time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-background-job.