Skip to content
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

Can't get the AndroidVideoCache to work on certain devices #10

Closed
RUITZEI opened this issue Aug 9, 2015 · 2 comments
Closed

Can't get the AndroidVideoCache to work on certain devices #10

RUITZEI opened this issue Aug 9, 2015 · 2 comments
Labels

Comments

@RUITZEI
Copy link

RUITZEI commented Aug 9, 2015

Hey man, i'm currently having issues when I try to use the lib on devices such as Samsung S3 (API 18) or Nexus 4 (API 16). This is the error i'm getting on the logcat.

com.danikula.videocache.ProxyCacheException: Error using file /mnt/sdcard/Android/data/com.tar/cache/tar_gifs/http:/k30.kn3.net/taringa/1/1/5/5/8/F/vagonettas/7B9.gif.webm as disc cache
at com.danikula.videocache.FileCache.(FileCache.java:35)
at com.tar.adapters.ShoutListCursorAdapter.handleWebmReproduction(ShoutListCursorAdapter.java:1413)
at com.tar.adapters.ShoutListCursorAdapter$13.onClick(ShoutListCursorAdapter.java:684)
at android.view.View.performClick(View.java:4084)
at android.view.View$PerformClick.run(View.java:16966)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)

The code I used to it is similar to the one posted on the sample. Has this library been tested on older devices like the ones I´ve just mentioned? I'm using Genymotion emulator to test this. It does work with Nexus 5, both SDK 21 and 19.

Thanks in advice, hope you can help!

@RUITZEI RUITZEI closed this as completed Aug 9, 2015
@RUITZEI
Copy link
Author

RUITZEI commented Aug 9, 2015

Ok, my mistake was very silly, I was using a way too long string for the name of the file and that was throwing the exception.

Thanks !

@danikula
Copy link
Owner

You used illegal name for your file http://k30.kn3.net/taringa/1/1/5/5/8/F/vagonettas/7B9.gif.webm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants