Fixes compilation error

Ant gives the following compilation errors:

`error: method does not override or implement a method from a supertype`

NDK: r9b.
SDK platform: android-10.