Comments (3)
I found I could exclude the dependencies like this: compile('com.github.chrisbanes.bitmapcache:library:2.3'){
exclude group: 'com.google.android'
}
compile 'com.android.support:support-v4:23.1.1'
I still think this project should include the newest support-lib-v4 (as it claims to to in front-page). I admit it is a neat trap that the most recent version on maven is ancient.
Its also possible to manually choose version of DiskLruCache like this but its probably not safe if different version of DiskLruCache is included, as a future version of DiskLru may not play well with BitmapCache.
compile('com.github.chrisbanes.bitmapcache:library:2.3'){
exclude group: 'com.jakewharton'
}
compile 'com.jakewharton:disklrucache:2.0.2'
from android-bitmapcache.
@arberg Thanks for posting a quick fix to this problem.
@chrisbanes Please remove the android-support jar from this library.
I wasted 4+ hours trying to find where this duplicate jar was coming from.
from android-bitmapcache.
Hi @bkhall
@chrisbanes has not updated repository for 2 years, so I would say its dead.
farfromrefug (https://github.com/Akylas/Android-BitmapCache/) made lots of updates in 2014 that was never pulled. I pushed my changes to farfromrefug(Akylas) but those have not yet been accepted. So today this is the most update version of the repository, I believe (as I pulled from farfromrefug):
https://github.com/arberg/Android-BitmapCache/
from android-bitmapcache.
Related Issues (20)
- Incompatibility with latest DiskLruCache (2.0) HOT 1
- Images sometimes don't render in listview
- Recycled Bitmap Method Stack
- Running sample app in Android Studio
- Frequently getting the error of "java.lang.OutOfMemoryError" exception
- i test the simple app,IllegalArgumentException
- Need a way to purge the DiskCache. HOT 1
- TransitionDrawable and Recycled Bitmap Exception HOT 2
- After I updated to BitmapCache 2.3 version, OutOfMemoryError happens frequently
- NullpointerException. mRecyclePolicy is null HOT 2
- Removed bitmaps on LruCache is not checked if it is being used HOT 1
- RecyclePolicy not interpreted as expected
- NoClassDefFoundError HOT 1
- Facebook Login error
- Strange gradle issue? java.lang.NoSuchMethodError: No static method getPointerCount(Landroid/view/MotionEvent;)I in class Landroid/support/v4/view/MotionEventCompatEclair HOT 1
- CacheableBitmapDrawable cannot be previewed in Android Studio debugger
- CacheableBitmapDrawable sets null in detach, should probably just set unused
- Current Repo not maintained - new suggested 'head' until chris returns HOT 1
- Encoding/encryption processing
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 android-bitmapcache.