GithubHelp home page GithubHelp logo

Comments (7)

vikeri avatar vikeri commented on August 25, 2024 1

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.

MaximilianKindshofer avatar MaximilianKindshofer commented on August 25, 2024

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.

vikeri avatar vikeri commented on August 25, 2024

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.

MaximilianKindshofer avatar MaximilianKindshofer commented on August 25, 2024

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.

vikeri avatar vikeri commented on August 25, 2024

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.

MaximilianKindshofer avatar MaximilianKindshofer commented on August 25, 2024

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.

vikeri avatar vikeri commented on August 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.