FATAL SIGNAL 11 (Sigsegv) at 0x00000000 (code=1)?

前端 未结 6 1111
余生分开走
余生分开走 2021-02-04 06:49

Why does this problem occur?

public static String path;
private VideoView mVideoView;


mVideoView = (VideoView) findViewById(R.id.surface_view);
mVideoView.setV         


        
6条回答
  •  野性不改
    2021-02-04 07:32

    You can see from the last Garbage Collection call that the garbage collector has failed to free any memory and that you you have no memory available. How big are your buffers? How much additional head room do they need?

    One possible solution is to investigate using the larger heap size by setting android:largeHeap="true" to allow large heap size in your application manifest, documented on the developers site..

提交回复
热议问题