Problem in building standalone apps

Hello there, i am trying to build an android standalone app and the build was successful but it ain’t running on my phone, its showing a error in JSException, can’t find variable document. please help me with it