Comments (11)
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.
Any update on this?
from store.
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.
Any updates?
from store.
Hey @kalyandechiraju do you have a stacktrace?
from store.
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.
Can you create a failing sample project? I'm unable to reproduce. Could be a proguard configuration you are using
from store.
Any workaround for this? I am not able to upgrade the gradle plugin due to this.
from store.
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.
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.
Just add com.nytimes.android:cache3:3.1.1 dependency
from store.
Related Issues (20)
- Store 4 design document HOT 2
- Observe changes in disk without invalidating cache HOT 2
- NetworkOnMainThread thrown when performing a clear from the MainThread HOT 1
- Question: Convert List<T> From API to BufferedSource
- Question: Shouldn't Persister.write return single which will write to cache only after subscribe? HOT 2
- Sample crashes on launch
- Get data always hits the network without persister HOT 5
- Clear FileSystemPersister HOT 1
- Support for partial fetches (for paginated APIs) HOT 1
- Clearable HOT 2
- Feature Request : support for multiple get/fetch HOT 1
- RecordPersister's 'Expiration' is not working HOT 8
- Misleading docs and behavior of Store.clear() HOT 6
- How to determine if a key is in memory cache? HOT 3
- fetchWithResult returns NETWORK even on network errors HOT 2
- Provide a method for getting data from memory cache
- Having trouble fetching data using android nytimes store library HOT 1
- Request is made multiple times
- This library seems to be deprecated. Other alternatives? HOT 1
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 store.