本文介紹了致命信號(hào) 11(Sigsegv)在 0x00000000(代碼=1)?的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!
問題描述
限時(shí)送ChatGPT賬號(hào)..
為什么會(huì)出現(xiàn)這個(gè)問題?
Why does this problem occur?
public static String path;
private VideoView mVideoView;
mVideoView = (VideoView) findViewById(R.id.surface_view);
mVideoView.setVideoPath(path);
mVideoView.setMediaController(new MediaController(this));
mVideoView.requestFocus();
//...
private int mLayout = VideoView.VIDEO_LAYOUT_ZOOM;
@Override
public void onConfigurationChanged(Configuration newConfig) {
if (mVideoView != null)
mVideoView.setVideoLayout(mLayout, 0);
super.onConfigurationChanged(newConfig);
}
推薦答案
您看到的錯(cuò)誤消息是由于在本機(jī)代碼中取消引用空指針引起的.從你的顯示很難猜測(cè)可能是什么原因.
The error message you are seeing is caused by dereferencing a null pointer in native code. From what you show it's hard to guess what may be the cause.
在您的位置上,我會(huì)仔細(xì)檢查您是否沒有將空引用傳遞給系統(tǒng)或庫(kù)方法.
In your place I'd double check that you're not passing a null references to a system or library method.
這篇關(guān)于致命信號(hào) 11(Sigsegv)在 0x00000000(代碼=1)?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!