Mister M
Mister M

Reputation: 1669

Vitamio on Android 7.0 - Detected problems with app native libraries

Android app gives the alert on the top of playing video with vitamio

Vitamio on Android 7.0 - Detected problems with app native libraries, 
libffmpeg.so: text relocations

I'm using latest version of vitamio

compile 'com.charonchui.vitamio:vitamio:4.2.2'

and simple code

protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setImmersiveFullScreen();
    if (!io.vov.vitamio.LibsChecker.checkVitamioLibs(this))
        return;
    setContentView(R.layout.activity_main);

    String URL = "ANY URL HERE";
    final VideoView mVideoView = (VideoView) 
    findViewById(R.id.surfaceView);

    HashMap<String, String> options;
    mVideoView.setVideoURI(Uri.parse(URL));
    mVideoView.setMediaController(new MediaController(this));
    mVideoView.requestFocus();
    mVideoView.start();

    mVideoView.setOnPreparedListener(new 
        MediaPlayer.OnPreparedListener() {
        @Override
        public void onPrepared(MediaPlayer mediaPlayer) {
            mediaPlayer.setPlaybackSpeed(1.0f);
        }
    });

}

It gives this alert and then continues to play video perfectly, but I can't find a way to disable this alert and get this app in production.

Any help will be appreciated, thanks.

Upvotes: 0

Views: 1043

Answers (0)

Related Questions