I'm trying to package my Sencha Touch 2 based mobile application for Android. Followed the steps mentioned at the Sencha documentation, always getting some different errors.
None of these commands works: (added errors below of each command)
$ sencha package build packager.json
[ERR] Command must be run from a package folder
$ sencha package run packager.json
[ERR] Unknown command: "run"
$ sencha package packager.json
[ERR] Unknown command: "packager.json"
After I googled this situation; found an answer that says valid command is:
$ sencha app package build packager.json
Getting these errors:
Copy operation failed src=st-res/android//nimblekit.jar dst=build///libs/nimblekit.jar
Can not open source file
Failed to copy packager library
Failed to package application
Environment & Tool Details:
OS : Linux
Sencha Touch version : 2.2.1
Sencha Cmd version : 3.1.2.342