The script step you are using may require device permissions or hardware. For example, Insert From Device Camera will require Camera hardware and permissions; the Location and LocationValues functions will require Location Services permissions. Ensure these are checked a appropriate in the relevant platform's Requirements pane of the Standalone Deployment screen.
Certain Android devices require permissions to be accepted by the user on a per-application basis prior to using the feature.