LinkageError is not available on android. Use just Error.