无法播放此视频无法打开libwvm.so

时间:2019-05-19 11:43:56

标签: java android

我正在构建简单的视频视图应用程序,但是当我运行应用程序弹出窗口时,显示视频无法播放视频格式为mp4

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        VideoView videoView = (VideoView) findViewById(R.id.videoView);
        videoView.setVideoPath("Android.resource://" + getPackageName() + "/" + R.raw.video);
        videoView.start();
    }
}
05-19 11:30:47.289 223-640/? E/WVMExtractor: Failed to open libwvm.so

0 个答案:

没有答案