Command failed to execute : ant jar // Zend Studio - mobile
`
cordova library for "android" already exists. No need to download. Continuing.
Checking if platform "android" passes minimum requirements...
Checking Android requirements...
Running "android list target" (output to follow)
Available Android targets:
----------
id: 1 or "android-16"
Name: Android 4.1.2
Type: Platform
API level: 16
Revision: 4
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
Tag/ABIs : default/armeabi-v7a
----------
id: 2 or "android-17"
Name: Android 4.2.2
Type: Platform
API level: 17
Revision: 2
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
Tag/ABIs : default/armeabi-v7a
----------
id: 3 or "android-18"
Name: Android 4.3
Type: Platform
API level: 18
Revision: 2
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
Tag/ABIs : default/armeabi-v7a
----------
id: 4 or "android-19"
Name: Android 4.4.2
Type: Platform
API level: 19
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
Tag/ABIs : default/armeabi-v7a, default/x86
----------
id: 5 or "android-20"
Name: Android 4.4W
Type: Platform
API level: 20
Revision: 1
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in, AndroidWearRound, AndroidWearSquare, AndroidWearRound, AndroidWearSquare
Tag/ABIs : android-wear/armeabi-v7a, android-wear/x86
----------
id: 6 or "Google Inc.:Google APIs:16"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 3
Description: Android + Google APIs
Based on Android 4.1.2 (API level 16)
Libraries:
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.media.effects (effects.jar)
Collection of video effects
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WQVGA432, HVGA, WQVGA400, WVGA854, WVGA800 (default), WXGA720, WXGA800-7in, WXGA800, QVGA, WSVGA
Tag/ABIs : default/armeabi-v7a
----------
id: 7 or "Google Inc.:Google APIs:17"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 3
Description: Android + Google APIs
Based on Android 4.2.2 (API level 17)
Libraries:
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.media.effects (effects.jar)
Collection of video effects
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WSVGA, HVGA, WXGA800-7in, WXGA720, WQVGA400, WXGA800, WQVGA432, WVGA800 (default), WVGA854, QVGA
Tag/ABIs : default/armeabi-v7a
----------
id: 8 or "Google Inc.:Google APIs:18"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 3
Description: Android + Google APIs
Based on Android 4.3 (API level 18)
Libraries:
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.media.effects (effects.jar)
Collection of video effects
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WXGA800-7in, QVGA, WSVGA, WXGA720, HVGA, WXGA800, WQVGA432, WQVGA400, WVGA800 (default), WVGA854
Tag/ABIs : default/armeabi-v7a
----------
id: 9 or "Google Inc.:Google APIs:19"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 6
Description: Android + Google APIs
Based on Android 4.4.2 (API level 19)
Libraries:
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.media.effects (effects.jar)
Collection of video effects
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WSVGA, WQVGA400, HVGA, WVGA854, WQVGA432, WVGA800 (default), WXGA800, WXGA720, WXGA800-7in, QVGA
Tag/ABIs : default/armeabi-v7a
----------
id: 10 or "Google Inc.:Google APIs (x86 System Image):19"
Name: Google APIs (x86 System Image)
Type: Add-On
Vendor: Google Inc.
Revision: 6
Description: Android x86 + Google APIs
Based on Android 4.4.2 (API level 19)
Libraries:
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.media.effects (effects.jar)
Collection of video effects
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WSVGA, WQVGA400, HVGA, WVGA854, WQVGA432, WVGA800 (default), WXGA800, WXGA720, WXGA800-7in, QVGA
Tag/ABIs : default/x86
Running "android update project -p "C:\Users\Encoder\.cordova\lib\android\cordova\3.1.0\framework" -t android-17" (output to follow)...
Updated project.properties
Updated local.properties
build.xml: Found version-tag: custom. File will not be updated.
Updated file C:\Users\Encoder\.cordova\lib\android\cordova\3.1.0\framework\proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
Running bin/create for platform "android" with command: ""C:\Users\Encoder\.cordova\lib\android\cordova\3.1.0\bin\create" "C:\Users\Encoder\Zend\workspaces\DefaultWorkspace10\MobApp\platforms\android" "org.codova" "MobApp"" (output to follow)
Creating Cordova project for the Android platform:
Command failed to execute : ant jar
Error: An error occured during creation of android sub-project. Creating Cordova project for the Android platform:
Command failed to execute : ant jar
at C:\Users\Encoder\.zend\cordova\nodejs\node_modules\cordova\src\platform.js:324:35
at C:\Users\Encoder\.zend\cordova\nodejs\node_modules\cordova\node_modules\shelljs\shell.js:1707:7
at ChildProcess.exithandler (child_process.js:641:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Process.ChildProcess._handle.onexit (child_process.js:802:5)
`
I want to create cloud connected mobile project with Zend studio 10.6.I create , deploy , but when i want to convert to android application this error appears. Although i install ant . Please , help me :( I don't understand anything. i did all what i could , but i couldn't get any result :(
Related
How to use Google Cloud Debugger on Cloud Run with Django
I'm trying to use Google Cloud Debugger on Cloud Run with Django. I red this document. https://cloud.google.com/debugger/docs/setup/python What I did. I turned on Debugger in google cloud. Install google-python-cloud-debugger. I created source-context.json same directory with models.py I add this code in manage.py try: import googleclouddebugger googleclouddebugger.enable() except ImportError: pass I update container of Google Cloud Run. How ever I cant find any application in Debugger I imported my source code from GitHub. I can see my code in Debugger. However, I couldn't check break point in Debugger page. How to debug Django on Clod Run? Please help me. Update I did this 2 step. Add logger Cloud Debugger Agent rights to the service account from IAM. Connect GitHub repository with Google Cloud Source Cloud Debugger works on local environment. However it doesn't work in Cloud Run. This picture has only local application. I can't find Cloud Run application. This is my yaml file. (I'm using Cloud Run as full managed mode) apiVersion: serving.knative.dev/v1 kind: Service metadata: name: my_app namespace: '135253772466' selfLink: /apis/serving.knative.dev/v1/namespaces/135253772466/services/my_app uid: 61b4ac55-4aab-4d33-801d-d21b0d116ea4 resourceVersion: AAWmjubgiTg generation: 176 creationTimestamp: '2020-04-14T12:38:39.484473Z' labels: cloud.googleapis.com/location: asia-northeast1 annotations: run.googleapis.com/client-name: gcloud serving.knative.dev/creator: 135253772466#cloudbuild.gserviceaccount.com serving.knative.dev/lastModifier: 135253772466#cloudbuild.gserviceaccount.com client.knative.dev/user-image: gcr.io/my_project/my_app run.googleapis.com/client-version: 291.0.0 spec: traffic: - percent: 100 latestRevision: true template: metadata: name: my_app-00176-wud annotations: run.googleapis.com/client-name: gcloud client.knative.dev/user-image: gcr.io/my_project/my_app run.googleapis.com/client-version: 291.0.0 autoscaling.knative.dev/maxScale: '1000' spec: timeoutSeconds: 900 serviceAccountName: 135253772466-compute#developer.gserviceaccount.com containerConcurrency: 80 containers: - image: gcr.io/my_project/my_app ports: - containerPort: 8080 env: - name: CLOUD_RUN_HOST value: my_app-u3ljntrlma-an.a.run.app resources: limits: cpu: 1000m memory: 2048Mi status: conditions: - type: Ready status: 'True' lastTransitionTime: '2020-05-26T15:39:32.595Z' - type: ConfigurationsReady status: 'True' lastTransitionTime: '2020-05-26T15:39:25.640Z' - type: RoutesReady status: 'True' lastTransitionTime: '2020-05-26T15:39:32.595Z' observedGeneration: 176 traffic: - revisionName: my_app-00176-wud percent: 100 latestRevision: true latestReadyRevisionName: my_app-00176-wud latestCreatedRevisionName: my_app-00176-wud address: url: https://my_app-u3ljntrlma-an.a.run.app url: https://my_app-u3ljntrlma-an.a.run.app
Google App Engine High Costs
I recently asked a question: Deploying to google app engine failed I got my app deployed, however, we are incurring a large sum for this project. (wiki.js using third-party DB mLab). I'm wondering if it has to do with the config I put in app.yaml, namely, the memory expansion and resources This is what the google support person said: to add: resources: cpu: 2 memory_gb: 4.0 disk_size_gb: 20 health_check: enable_health_check: False My app.yaml (from google console) is: runtime: nodejs api_version: '1.0' env: flexible threadsafe: true automatic_scaling: min_num_instances: 2 max_num_instances: 20 cpu_utilization: target_utilization: 0.5 resources: cpu: 2 memory_gb: 4 disk_size_gb: 20 health_check: enable_health_check: false
Google Cloud Support person here again! Find a detailed description of costs going to Google Cloud Platform Console home --> Billing --> View detailed charges or following this guide. Update the post with the expensive fields without sharing private data, please, so I can understand what is going on. Find general information about quotas here. P.S.: I found a couple of solutions and I suggested you to TRY them since they weren't working for me.
Google cloud appengine 1.9.54 Release
We are deploying ASP.NET Core application on Appengine Flex and in Instances Summary on Dashboard page appears strange 1.9.54 appengine release as well as Flex release. What that might be? Our app.yaml: env: flex runtime: aspnetcore resources: cpu: 8 memory_gb: 14.4 automatic_scaling: min_num_instances: 8 max_num_instances: 20 cool_down_period_sec: 180 cpu_utilization: target_utilization: 0.5
Your app's dashboard summary indicates your app has both: standard env GAE instances (1.9.54 being the version of the GAE sandbox/infra running those instances), possibly from older service version(s) not yet deleted flexible env GAE instances You can play with the Service and/or Version selection boxes above the summary to identify which service/version those instances correspond to.
Behat + mink + Selenium2 + chromeDriver: Do not launch chrome browser
I am using ubuntu 14.4. When I run the test its works fine with firefox, where it launches the FF browser. But when I try the same with Chrome the test runs but it do not launch the browser. composer.json { "require": { "behat/behat": "2.4.*#stable", "behat/mink": "1.5.*#stable", "behat/mink-goutte-driver": "*", "behat/mink-extension": "*", "behat/mink-selenium2-driver": "*" } } behat.yml default: paths: features: features bootstrap: %behat.paths.features%/bootstrap extensions: Behat\MinkExtension\Extension: base_url: 'path-to-my-site' default_session: selenium2 browser_name: 'chrome' goutte: ~ selenium2: wd_host: "http://127.0.0.1:4444/wd/hub" Command to start Selenium Server java -jar /path-to/selenium-server-standalone-2.47.1.jar -Dwebdriver.chrome.driver="/usr/local/share/chromedriver" This is output of my above command: 11:27:46.064 INFO - Launching a standalone Selenium Server Setting system property webdriver.chrome.driver to /usr/local/share/chromedriver 11:27:46.101 INFO - Java: Oracle Corporation 24.72-b04 11:27:46.101 INFO - OS: Linux 3.13.0-32-generic amd64 11:27:46.113 INFO - v2.47.1, with Core v2.47.1. Built from revision 411b314 11:27:46.181 INFO - Driver provider org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: registration capabilities Capabilities [{platform=WINDOWS, ensureCleanSession=true, browserName=internet explorer, version=}] does not match the current platform LINUX 11:27:46.182 INFO - Driver provider org.openqa.selenium.edge.EdgeDriver registration is skipped: registration capabilities Capabilities [{platform=WINDOWS, browserName=MicrosoftEdge, version=}] does not match the current platform LINUX 11:27:46.182 INFO - Driver class not found: com.opera.core.systems.OperaDriver 11:27:46.182 INFO - Driver provider com.opera.core.systems.OperaDriver is not registered 11:27:46.249 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub 11:27:46.249 INFO - Selenium Server is up and running Behat test command: vendor/bin/behat Output of behat test Feature: Home page I am on a home page Scenario: Visit homepage # features/test.feature:4 Given I go to "home.html" # FeatureContext::visit() Then I should see "We can change the world!" # FeatureContext::assertPageContainsText() Then I follow "Register" # FeatureContext::clickLink() 1 scenario (1 passed) 3 steps (3 passed) Problem is the Test Works but the chrome browser is not launched. What am I doing wrong?
You should add #javascript tag before scenario, because by default behat is using goutte session which is not using selenium webdriver. More about Goutte driver #javascript Scenario: Visit homepage Or in behat.yml set the default session to selenium2 extensions: Behat\MinkExtension\Extension: default_session: selenium2 But after that behat will launch firefox browser, for launching especially chrome - you should add browser_name: chrome option extensions: Behat\MinkExtension\Extension: browser_name: chrome And also you should specify wd_host params for the selenium2 config param extensions: Behat\MinkExtension\Extension: selenium2: wd_host: "http://127.0.0.1:4444/wd/hub"
Problems with Redmine 2.2.1 on Ubuntu 10.04 ruby(1.8.24) on rails(3.2.11) couldn't be started
Hi I face the following problem upgrading to Redmine 2.2.1 from 1.2.2 on Ubuntu 10.04LTS: Initial hiccups i could resolve but now opening the redmine webpage i get an error. I followed the step in http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade and upgraded the required stuffs. Do i have some compatibility issue with rails and passenger or some configuration is apache? I am unable to figure. Kindly help me in figuring out the issue. Thanks in advance, Ghosh. Webpage error: A source file that the application requires, is missing. It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded. A required library may not installed. Please install all libraries that this application requires. Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem. Error message: no such file to load -- dispatcher Exception class: LoadError Application root: /usr/share/redmine Backtrace: # File Line Location 0 /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb 251 in `require' 1 /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb 251 in `require' 2 /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb 236 in `load_dependency' 3 /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb 251 in `require' 4 /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb 308 in `preload_application' 5 /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb 248 in `initialize_server' 6 /usr/lib/ruby/1.8/phusion_passenger/utils.rb 255 in `report_app_init_status' 7 /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb 233 in `initialize_server' 8 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 194 in `start_synchronously' 9 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 163 in `start' 10 /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb 209 in `start' 11 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 262 in `spawn_rails_application' 12 /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb 126 in `lookup_or_add' 13 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 256 in `spawn_rails_application' 14 /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb 80 in `synchronize' 15 /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb 79 in `synchronize' 16 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 255 in `spawn_rails_application' 17 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 154 in `spawn_application' 18 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 287 in `handle_spawn_application' 19 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 352 in `__send__' 20 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 352 in `main_loop' 21 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 196 in `start_synchronously' 22 /usr/lib/phusion_passenger/passenger-spawn-server 61 My Redmine related stuffs are configured as below: Environment: Redmine version 2.2.1.stable Ruby version 1.8.7 (x86_64-linux) Rails version 3.2.11 Environment production Database adapter MySQL Redmine plugins: no plugin installed Gems included by the bundle: * actionmailer (3.2.11) * actionpack (3.2.11) * activemodel (3.2.11) * activerecord (3.2.11) * activeresource (3.2.11) * activesupport (3.2.11) * arel (3.0.2) * builder (3.0.0) * bundler (1.2.3) * coderay (1.0.8) * erubis (2.7.0) * fastercsv (1.5.5) * hike (1.2.1) * i18n (0.6.1) * journey (1.0.4) * jquery-rails (2.0.3) * json (1.7.6) * mail (2.4.4) * mime-types (1.19) * multi_json (1.5.0) * mysql (2.8.1) * net-ldap (0.3.1) * polyglot (0.3.3) * rack (1.4.4) * rack-cache (1.2) * rack-openid (1.3.1) * rack-ssl (1.3.2) * rack-test (0.6.2) * rails (3.2.11) * railties (3.2.11) * rake (10.0.3) * rdoc (3.12) * ruby-openid (2.1.8) * sprockets (2.2.2) * thor (0.16.0) * tilt (1.3.3) * treetop (1.4.12) * tzinfo (0.3.35) root#ubuntu:/usr/share/redmine# gem list *** LOCAL GEMS *** actionmailer (3.2.11, 2.3.11) actionpack (3.2.11, 2.3.11) activemodel (3.2.11) activerecord (3.2.11, 2.3.11) activerecord-mysql2-adapter (0.0.3) activeresource (3.2.11, 2.3.11) activesupport (3.2.11, 2.3.11) arel (3.0.2) builder (3.0.0) bundler (1.2.3) coderay (1.0.8) daemon_controller (1.1.0) erubis (2.7.0) fastercsv (1.5.5) fastthread (1.0.7) hike (1.2.1) i18n (0.6.1, 0.4.2) journey (1.0.4) jquery-rails (2.0.3) json (1.7.6) mail (2.4.4) metaclass (0.0.1) mime-types (1.19) mocha (0.12.3) multi_json (1.5.0) mysql (2.8.1) mysql2 (0.3.11) net-ldap (0.3.1) passenger (3.0.19) pg (0.14.1) polyglot (0.3.3) rack (1.4.4, 1.1.5) rack-cache (1.2) rack-openid (1.3.1) rack-ssl (1.3.2) rack-test (0.6.2) rails (3.2.11) railties (3.2.11) rake (10.0.3) rdoc (3.12) ruby-openid (2.1.8) rubygems-update (1.8.24) sprockets (2.2.2) thor (0.16.0) tilt (1.3.3) treetop (1.4.12) tzinfo (0.3.35)
This was resolved in another forum, and I'd like to post the resolution here in case anyone else needs it... I updated passenger: gem update passenger Then: passenger-install-apache2-module Then modify apache2.conf file to use the new passenger version. The above installer tells you what needs to be modified in your environment. Then restart apache and voila! Hope this helps.