FileCache cache1 = ImagePipelineFactory.getInstance().getMainDiskStorageCache();   FileCache cache2 = ImagePipelineFactory.getInstance().getSmallImageDiskStorageCache();

 

solution:
【L69】FileCache cache1 = ImagePipelineFactory.getInstance().getMainFileCache();
【L80】FileCache cache2 = ImagePipelineFactory.getInstance().getSmallImageFileCache();

 

https://github.com/reactnativecn/react-native-http-cache/issues/23

 

Throwing error cannot find symbol method getMainDiskStorageCache() on building · Issue #23 · reactnativecn/react-native-http-cac

I followed the doc and added react-native-http-cache to my project, but on building the app I am getting the following error /Users/sooraj/test/node_modules/react-native-http-cache/android/src/main...

github.com

 

반응형

+ Recent posts