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

NoSuchMethodError onHWRenderFailed #19

Closed
mafshin opened this issue Jul 24, 2013 · 4 comments
Closed

NoSuchMethodError onHWRenderFailed #19

mafshin opened this issue Jul 24, 2013 · 4 comments

Comments

@mafshin
Copy link

mafshin commented Jul 24, 2013

07-24 12:41:19.001: INFO/dalvikvm(15944): java.lang.NoSuchMethodError: no method with name='onHWRenderFailed' signature='()V' in class Lio/vov/vitamio/MediaPlayer;

I tracked it and found out that you didn't add the following method to MediaPlayer.java

private void onHWRenderFailed() {
    if (mOnHWRenderFailedListener != null)
        mOnHWRenderFailedListener.onFailed();
}

I added it and compiled it again, but yet the vitamio-sample (4.0.1) doesn't play anything and the activity is closed

@crossle
Copy link
Contributor

crossle commented Jul 24, 2013

Please sure you use Vitamio4.0.1? onHWRenderFailed dont need.

@mafshin
Copy link
Author

mafshin commented Jul 24, 2013

I was trying to run the vitamio-sample provided with Vitamio 4.0.1 bundle that I saw the error. The sample uses the Vitamio 4.0.1

I get:

07-24 17:49:30.964: INFO/VitamioPlayer: isNativeLibsInited, APP VERSION: 1, Vitamio Library version: 1
07-24 17:49:44.284: INFO/VitamioPlayer: LIB ROOT: /data/data/com.iris.imp/libs/
07-24 17:49:44.294: INFO/dalvikvm(7639): java.lang.NoSuchMethodError: no method with name='onHWRenderFailed' signature='()V' in class Lio/vov/vitamio/MediaPlayer;
07-24 17:49:44.294: INFO/dalvikvm(7639): at io.vov.vitamio.MediaPlayer.(MediaPlayer.java:218)
07-24 17:49:44.314: INFO/dalvikvm(7639): at io.vov.vitamio.MediaPlayer.(MediaPlayer.java:218)

@crossle
Copy link
Contributor

crossle commented Jul 24, 2013

I test it's ok,please uninstall and install your app, or can you send me your demo?

@mafshin
Copy link
Author

mafshin commented Jul 24, 2013

You're true, it seems that Vitamio do "Initialize Decoders" on the first launch and after each release (change) we have to uninstall and re-install the app.

Thanks anyway

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

No branches or pull requests

2 participants