I have a WebView on which the button is located. When pressed, the method from the controller should be called.
Controller
public class Controller
{
public void out(String a)
{
System.out.println(a);
}
}
JS
function clickButton() { controller.out("test");}
The code is given in the example. The problem is that in Windows all works fine.But on Debian it works through time. Test with help OracleJDK and OpenJDK.The result is the same. I'm sure that the controllers are connected, as i said, on Windows all works, on Debian through time.