1.webview設(shè)置setWebContentsDebuggingEnabled(true)
2.瀏覽器中輸入:chrome://inspect/#devices
3.webview中打開需要調(diào)試的頁面,在chrome中找到該頁面inspect進(jìn)入調(diào)試,如果一直顯示404,請(qǐng)翻墻后再試!


1.webview設(shè)置setWebContentsDebuggingEnabled(true)
2.瀏覽器中輸入:chrome://inspect/#devices
3.webview中打開需要調(diào)試的頁面,在chrome中找到該頁面inspect進(jìn)入調(diào)試,如果一直顯示404,請(qǐng)翻墻后再試!