How to debug webview remotely?

后端 未结 6 1271
别跟我提以往
别跟我提以往 2021-02-03 22:48

How can I do debug/inspect element of apk webview.
I have tried this but it is helpful only for chrome not for apk.

Please suggest me

6条回答
  •  深忆病人
    2021-02-03 23:27

    If what you are looking for is a way to turn on WebView debugging for an app that you don't have the source code to, this can be done but you will need to decompile and recompile the app.

    The instructions on how to do this can he found here: https://blog.speedfox.co.uk/articles/1524219174-Android_WebView_Hackery

提交回复
热议问题