Android IDE (AIDE) Support Forum

A problem about the onJsAlert method

I have a project and its Java code looks like this:


As you see,the AIDE showed me a error “Method onJsAlert does not override method from its superclass”.
If I delete the keyword “@Override”,then it will not give me any error message.I want to catch the alert method in JavaScript,but it doesn’t work.Is it a bug of AIDE?Sorry for my English.

Check name and parameters to make sure you did not mistype any parameter type or name.