String url = "file:///android_asset/apps/MuiTest/index.html";
页面显示没问题,可是下面一堆错误,求破
09-07 13:46:51.657: I/Main_Path(18271): will exc coreListener.onCoreReady
09-07 13:46:51.683: W/art(18271): Attempt to remove local handle scope entry from IRT, ignoring
09-07 13:46:51.684: W/AwContents(18271): onDetachedFromWindow called when already detached. Ignoring
09-07 13:46:51.685: W/art(18271): Attempt to remove local handle scope entry from IRT, ignoring
09-07 13:46:51.685: W/art(18271): Attempt to remove local handle scope entry from IRT, ignoring
09-07 13:46:51.694: W/art(18271): Attempt to remove local handle scope entry from IRT, ignoring
09-07 13:46:51.694: W/art(18271): Attempt to remove local handle scope entry from IRT, ignoring
09-07 13:46:51.709: W/System.err(18271): java.net.SocketException: Socket closed
09-07 13:46:51.709: W/System.err(18271): at libcore.io.Posix.accept(Native Method)
09-07 13:46:51.709: W/System.err(18271): at libcore.io.BlockGuardOs.accept(BlockGuardOs.java:63)
09-07 13:46:51.709: W/System.err(18271): at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:96)
09-07 13:46:51.709: W/System.err(18271): at java.net.ServerSocket.implAccept(ServerSocket.java:216)
09-07 13:46:51.709: W/System.err(18271): at java.net.ServerSocket.accept(ServerSocket.java:140)
09-07 13:46:51.709: W/System.err(18271): at io.dcloud.common.util.net.http.LocalServer.run(LocalServer.java:58)
09-07 13:46:51.709: W/System.err(18271): at java.lang.Thread.run(Thread.java:818)
09-07 13:46:51.710: D/EntryProxy(18271): clearData
1 个回复
赵梦欢 - 专注前端,乐于分享!
Webview集成方式,用户可在需要时显示一个支持5 扩展API的Webview页面。使用单页面方式集成5 SDK,在页面内不能调用plus.webview的API创建新的页面,其他5 API的使用不受影响。
最好贴出index.html页面的代码或者测试工程。