Trying to port card info to AnkiDroid

I am trying to port card info to AnkiDroid (just for curiosity and learning). But I getting some errors. How the _anki/i18nResources errors is handled in webview? I have searched for implementation on stackoverflow but didn’t get any working implementation.

This is PR on my local repository
Porting card info by krmanik · Pull Request #23 · krmanik/Anki-Android · GitHub

Any pointer will be helpful, Thanks