-
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
Throwing error cannot find symbol method getMainDiskStorageCache() on building #23
Comments
did you solve this problem? |
@csooraj try to fix these two line : react-native-http-cache/android/src/main/java/cn/reactnative/httpcache/HttpCacheModule.java Line 69 in ab4571a
react-native-http-cache/android/src/main/java/cn/reactnative/httpcache/HttpCacheModule.java Line 80 in ab4571a
solution: after edit, rebuild, it works for me , you can try it! |
I had same issue, and while @ismjt suggestion did work (it builds) I am now getting "undefined is not a function (evaluating CacheManager.clear()) |
@SteffenC see here: react-native-http-cache/index.js Line 23 in ab4571a
try this: |
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/java/cn/reactnative/httpcache/HttpCacheModule.java
Error:(69, 62) error: cannot find symbol method getMainDiskStorageCache()
Error:(80, 62) error: cannot find symbol method getSmallImageDiskStorageCache()
I could not figure out this issue, could you please help to fix this.
I am using React Native version 0.47
The text was updated successfully, but these errors were encountered: