我在 Kitkat(4.4) 的 webview 中上传文件时遇到问题。根据https://code.google.com/p/android/issues/detail?id=62220,由于新版本的 webview 中缺少方法,因此无法在 4.4 中完成。
因此搜索并找到 GeckoView(https://wiki.mozilla.org/Mobile/GeckoView)作为 webview 的替代品。我遵循了https://wiki.mozilla.org/Mobile/GeckoView中指定的所有步骤,但项目仍然没有在模拟器和 android 设备中运行。
我尝试在https://wiki.mozilla.org/Mobile/GeckoView中下载和导入示例项目 Geckobrowser ,但它给出了 getCurrentBrowser() 方法的编译时错误。
我正在使用 Windows 操作系统。谁能指导我完成,不知道我错过了什么。对于正确方向的任何领导,我都会非常满意。