Git Product home page Git Product logo

Comments (11)

kalyandechiraju avatar kalyandechiraju commented on June 16, 2024 2

Sure. @digitalbuddha

Here is a sample project running on AS Gradle plugin 3.4.1 and gradle 5.1.1
https://github.com/kalyandechiraju/StoreDemo

Check the Main Activity class (master branch) where the Store interface is not resolvable.

Whereas in gradle3.3 branch running on gradle plugin 3.3.x and gradle 4.10.1, it's resolved properly.

from store.

kalyandechiraju avatar kalyandechiraju commented on June 16, 2024 2

Any update on this?

from store.

cybo42 avatar cybo42 commented on June 16, 2024 1

I've been able to reproduce this in the sample app as well. Both upgrading to AGP 3.4.1 or upgrading Gradle to 5.0> seems to cause compile errors. I will try to see if I can take a closer look at this.

from store.

polivmi1 avatar polivmi1 commented on June 16, 2024 1

Any updates?

from store.

pavlospt avatar pavlospt commented on June 16, 2024

Hey @kalyandechiraju do you have a stacktrace?

from store.

kalyandechiraju avatar kalyandechiraju commented on June 16, 2024

It's just a compile-time error saying unable to resolve com.nytimes.android.external.store3.base.impl.Store Due to which my build is failing.

from store.

digitalbuddha avatar digitalbuddha commented on June 16, 2024

Can you create a failing sample project? I'm unable to reproduce. Could be a proguard configuration you are using

from store.

kalyandechiraju avatar kalyandechiraju commented on June 16, 2024

Any workaround for this? I am not able to upgrade the gradle plugin due to this.

from store.

kalyandechiraju avatar kalyandechiraju commented on June 16, 2024

I tried cloning the project and updating the Gradle plugin. After updating, Gradle sync fails with this error:
ERROR: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
The following dependencies do not satisfy the required version:
root project 'Store' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.0
Affected Modules: app

Can anyone check this and take necessary action? Also, please confirm if this is the cause for the issue.

from store.

kalyandechiraju avatar kalyandechiraju commented on June 16, 2024

Finally able to solve the issue by adding Store3 dependency in addition to store-kotlin3 dependency.

implementation 'com.nytimes.android:store3:3.1.1' <-- Previously I dont have this dependency
implementation 'com.nytimes.android:store-kotlin3:3.1.1'
implementation 'com.nytimes.android:middleware3:3.1.1'

from store.

polivmi1 avatar polivmi1 commented on June 16, 2024

Just add com.nytimes.android:cache3:3.1.1 dependency

from store.

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.