-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请抓紧解决一下 安卓 getMainDiskStorageCache方法过期问题 #35
Comments
我也是这样的 你找到解决方法了么 |
@long-joan 换一个库吧 别用这个了 |
我找到问题所在了 |
大家怎么处理的?求推荐一个其他的库或者说下怎么修改,谢谢了 |
有其他的库吗? 我基于那个改了下,发布了一个 https://www.npmjs.com/package/react-native-http-cache-55valid ,不清除有其他的可以替代不 |
@long-joan 你怎么解决的,我现在也遇到了这个问题 |
https://www.ctolib.com/android/categories/android-app.html I find this solution currently! |
@LannyCodes getMainDiskStorageCache ---> getMainFileCache getSmallImageDiskStorageCache---->getSmallImageFileCache |
@long-joan 多谢啦,祝你工作顺利! |
已经找到处理方法了,请参考: #36 |
/Users/dong/project/ejiazi/robotHousekeeper/node_modules/react-native-http-cache/android/src/main/java/cn/reactnative/httpcache/HttpCacheModule.java:69: 错误: 找不到符号
FileCache cache1 = ImagePipelineFactory.getInstance().getMainDiskStorageCache();
^
符号: 方法 getMainDiskStorageCache()
位置: 类 ImagePipelineFactory
/Users/dong/project/ejiazi/robotHousekeeper/node_modules/react-native-http-cache/android/src/main/java/cn/reactnative/httpcache/HttpCacheModule.java:80: 错误: 找不到符号
FileCache cache2 = ImagePipelineFactory.getInstance().getSmallImageDiskStorageCache();
^
符号: 方法 getSmallImageDiskStorageCache()
位置: 类 ImagePipelineFactory
2 个错误
:react-native-http-cache:compileReleaseJavaWithJavac FAILED
The text was updated successfully, but these errors were encountered: