After trying to build for simulating on and Android device I get the following output, followed by other errors:
sh: ant: command not found"/Users/me/bin/android-sdk-macosx/tools/android" create project --target android-18 --name fakename --activity STActivity --path "/Applications/MAMP/htdocs/fakename/build/native-package-mobile/fakename/packager.json/" --package com.business.fakename
Could not run ant with error: 32512
Failed to package application
[ERR] The following error occurred while executing this line:/Applications/MAMP/htdocs/fakename/.sencha/app/build-impl.xml:422: The following error occurred while executing this line:
/Applications/MAMP/htdocs/fakename/.sencha/app/packager-impl.xml:108: The following error occurred while executing this line:
/Applications/MAMP/htdocs/fakename/.sencha/app/packager-impl.xml:98: The following error occurred while executing this line:
/Applications/MAMP/htdocs/fakename/.sencha/app/packager-impl.xml:7: com.sencha.exceptions.ExProcess: stbuild exited with non-zero code : 7
Any tips on how I can get round this second issue as the first one was fixed by changing target from 8 to 18.
MAC OSX 10.9
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
framework: Sencha Touch 2.3.x
Also when I try to build for a production web app the process completes without any errors but when I run the production web app I get the following error in the Google Chrome console and the App hangs, but runs fine in Safari! with no output to the console!
Error evaluating http://localhost:8888/published/build/production/fakename/app.js with message: SyntaxError: Unexpected token :
Last edited by interneers; 26 Nov 2013 at 11:46 AM.
Reason: Added another problem with same App
It looks like you may need to install/re-install Ant.
More specifically; your path to Ant is not found.
So created a project added a panel and the word test, saved it, built it for web, production, worked, so i tried to simulate on android still getting this error, the debug output showed:
[DBG] loading manifest for jar /Users/me/bin/Sencha/Cmd/220.127.116.11/extensions/sencha-compass/lib/slf4j-api-1.6.6.jar[DBG] loading manifest for jar /Users/me/bin/Sencha/Cmd/18.104.22.168/extensions/sencha-compass/lib/ant-1.8.4.jar
[DBG] loading manifest for jar /Users/me/bin/Sencha/Cmd/22.214.171.124/extensions/sencha-compass/lib/ant-launcher-1.8.4.jar
Which isn't the version I installed the other day! Could be conflicting somehow, getting desperate now, none of the apps I have written or any of the templates in Architect are building, they are created fine and would assume ant is used in the creation and/or saving of a new project, tell me if this assumption is incorrect.
So after building an app in the terminal, and running the native build it worked, I thought great, looking in the packager file I noticed it was defaulted to iOS, had an entitlements file and App package in the native-package-mobile folder. So I altered packager.json to Android and it failed again, details attached from -native-package-mobile command.
I tried to 'simulate on iOS' my App that first failed on Android, and it worked fine, popped up in the simulator no problems.
Looking at the difference to the output when I try and simulate in Architect and when I use the same command in the terminal, towards the end their is a difference in the paths used:
In the Architect Debug Output:
[DBG] using path /Users/me/bin/Sencha/Cmd/126.96.36.199/stbuild:/Users/me/bin/Sencha/Cmd/188.8.131.52/stbuild/bin:/usr/bin:/bin:/usr/sbin:/sbin
And in the Terminal Debug output:
[DBG] using path /Users/me/bin/Sencha/Cmd/184.108.40.206/stbuild:/Users/me/bin/Sencha/Cmd/220.127.116.11/stbuild/bin:/Users/me/bin/Sencha/Cmd/18.104.22.168:/opt/local/share/java/apache-ant/bin:/Users/me/.rvm/gems/ruby-2.0.0-p353/bin:/Users/me/.rvm/gems/ruby-2.0.0-p353@global/bin:/Users/me/.rvm/rubies/ruby-2.0.0-p353/bin:/Users/me/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
The main difference being one has a path to a version of ant the other doesnt!
Having checked I did in fact Android SDK Build Tools 19 installed, using the SDK Manager I installed 18.1.1 and removed 19.0.0, re-ran the Simulate on Android but I get exactly the same issue at the same point in the build.
So I quit Architect, opened a terminal window changed working directory to my app, ran
sencha app build -run native
And it worked, I had already started the emulator, after waiting for the terminal to finish, I switched to the emulator and it worked, all the parts of the app functioned correctly.
A difference between running the sencha app build command both in and out of architect is confirmed.
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."