-
11 Mar 2013 5:51 PM #1
Sencha Cmd v3.0.2.288 - android packaging error - help please
Sencha Cmd v3.0.2.288 - android packaging error - help please
Can not open destination file for writing
Failed to copy packager library
Failed to package application
Copy operation failed src=C:\tools\Sencha\Cmd\3.0.2.288\stbuild\st-res/android/\
nimblekit.jar dst=\sencha\releases\MyApp\\libs\nimblekit.jar
[ERR] stbuild exited with non-zero code : 3
I am using the CMD tool and Toush-2.1.1 SDK. Initially, I had the project in a different folder but I get the same error even after I moved it to a subfolder under SDK. Windows 7. The is the GettingStarted app, which is working great using Chrome and Apache. But this has left a bad taste in my mouth given I can't package it to run it on my tablet.
I see a couple of other thread that have similar issues but they were from March 2012!
Any helps is appreciated.
Thanks.
- m
-
13 Mar 2013 4:20 PM #2
I am convinced that this is a Sencha Package problem. I just ran the sencha app package build command in debug mode and got this log.
(Its been three days and I am still holding hope that someone can help.....pretty please!)
I think there is a bug in the AppPackageCommands.java file, possibly not recognizing Windows path separator. (Why is it appending /android/ instead of \android\ ?)
Snippet from the debug log file -
Can not open destination file for writing
Failed to copy packager library
Failed to package application
Copy operation failed src=C:\tools\Sencha\Cmd\3.0.2.288\stbuild\st-res/android/\nimblekit.jar dst=\projects\sencha\releases\MyApp\\libs\nimblekit.jar
[ERR] stbuild exited with non-zero code : 3
com.sencha.exceptions.ExProcess: stbuild exited with non-zero code : 3
at com.sencha.command.app.AppPackageCommands$BasePackageCommand.execute(AppPackageCommands.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sencha.cli.Command.dispatch(Command.java:78)
at com.sencha.cli.Commands.dispatch(Commands.java:49)
at com.sencha.cli.Commands.dispatch(Commands.java:49)
at com.sencha.cli.Commands.dispatch(Commands.java:49)
at com.sencha.command.Sencha.main(Sencha.java:71)
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote