在Google Chrome中,网址加载时没有任何问题。我已经尝试过CordovaWebView,但我收到线程错误。如何在Google Chrome加载时加载网址?
更新: 我添加了config.xml并使用正确的URL配置
答案 0 :(得分:0)
解决方案是按如下方式声明线程池:
private final ExecutorService threadPool = Executors.newCachedThreadPool();
然后在threadPool
方法中返回getThreadPool()
。