We may use Android to run Js functions by copying the jar file into the libs folder of the app folder in the android project. Jar file. Click "Add as Library" from the context menu of the js.jar file that just appeared on your computer's desktop.