[snippets] Add Android NDK logging.