Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meteor reinstalls all Cordova plugins on every execution if any plugin has a dependency #4238

Closed
dandv opened this issue Apr 19, 2015 · 2 comments

Comments

@dandv
Copy link
Contributor

dandv commented Apr 19, 2015

Installing Cordova plugins                [=============             ] 50%

The message appears on subsequent runs of the very same application with meteor run android or meteor run ios-device, and probably other commands as well. I saw it often on Ubuntu and Yosemite, without adding any Cordova plugins to the app. Here's one reproduction sequence:

git clone git@github.com:dandv/meteor-shake.git
cd meteor-shake
git submodule update --init
cd example
git checkout 6e5cd9d65a78ab5d7b572f12c836fc2a46359941
meteor run android

[[[[[ ~/meteor-shake/example ]]]]]

=> Started proxy.
=> Started app on Android Emulator.
=> Started MongoDB.
=> Started your app.

=> App running at: http://localhost:3000/

Then run meteor run android again.

$ meteor run android -v
% Parsing the --port option
% Will compile mobile builds                  
Local package version is up-to-date: autopublish@1.0.3
Local package version is up-to-date: autoupdate@1.2.1
Local package version is up-to-date: base64@1.0.3
Local package version is up-to-date: binary-heap@1.0.3
Local package version is up-to-date: blaze@2.1.2
Local package version is up-to-date: blaze-tools@1.0.3
Local package version is up-to-date: boilerplate-generator@1.0.3
Local package version is up-to-date: callback-hook@1.0.3
Local package version is up-to-date: check@1.0.5
Local package version is up-to-date: ddp@1.1.0
Local package version is up-to-date: deps@1.0.7
Local package version is up-to-date: ejson@1.0.6
Local package version is up-to-date: fastclick@1.0.3
Local package version is up-to-date: geojson-utils@1.0.3
Local package version is up-to-date: html-tools@1.0.4
Local package version is up-to-date: htmljs@1.0.4
Local package version is up-to-date: http@1.1.0
Local package version is up-to-date: id-map@1.0.3
Local package version is up-to-date: insecure@1.0.3
Local package version is up-to-date: jquery@1.11.3_2
Local package version is up-to-date: json@1.0.3
Local package version is up-to-date: launch-screen@1.0.2
Local package version is up-to-date: livedata@1.0.13
Local package version is up-to-date: logging@1.0.7
Local package version is up-to-date: meteor@1.1.6
Local package version is up-to-date: meteor-platform@1.2.2
Local package version is up-to-date: minifiers@1.1.5
Local package version is up-to-date: minimongo@1.0.8
Local package version is up-to-date: mobile-status-bar@1.0.3
Local package version is up-to-date: mongo@1.1.0
Local package version is up-to-date: observe-sequence@1.0.6
Local package version is up-to-date: ordered-dict@1.0.3
Local package version is up-to-date: random@1.0.3
Local package version is up-to-date: reactive-dict@1.1.0
Local package version is up-to-date: reactive-var@1.0.5
Local package version is up-to-date: reload@1.1.3
Local package version is up-to-date: retry@1.0.3
Local package version is up-to-date: routepolicy@1.0.5
Local package version is up-to-date: session@1.1.0
Local package version is up-to-date: spacebars@1.0.6
Local package version is up-to-date: spacebars-compiler@1.0.6
Local package version is up-to-date: templating@1.1.1
Local package version is up-to-date: tracker@1.0.7
Local package version is up-to-date: ui@1.0.6 
Local package version is up-to-date: underscore@1.0.3
Local package version is up-to-date: url@1.0.4
Local package version is up-to-date: webapp@1.2.0
Local package version is up-to-date: webapp-hashing@1.0.3
% Running build for platforms: [ 'android' ]  
Running command  which jarsigner              
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle
/home/dandv/.meteor/android_bundle/android-sdk/build-tools/21.0.0/aapt version
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/tools/android list
target
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/tools/android list avd
--compact
Found AVDS: [ 'meteor', '' ]                  
Found /dev/kvm                                
% Building the cordova build project          
% Bundling the web.cordova program of the app 
% Ensuring the cordova build project          
% Reading the mobile control file             
% Running the mobile control file             
% Copying resources for mobile apps           
% Writing new config.xml                      
% Ensuring that platforms in cordova build project are in sync
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'platform', 'list' ]
% The output of `cordova platforms list`: Installed platforms: android 3.6.4
Available platforms: amazon-fireos, blackberry10, browser, firefoxos, ubuntu

% The platform is not in the Cordova project: ios
% Ensuring plugins in the cordova build project are in sync { 'org.apache.cordova.console': '0.2.13',
  'org.apache.cordova.file': '1.3.3',
  'org.apache.cordova.file-transfer': '0.5.0',
  'uk.co.ilee.shake': '0.3.1',
  'org.apache.cordova.device': '0.2.13',
  'com.meteor.cordova-update': 'https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2',
  'org.apache.cordova.statusbar': '0.1.10',
  'org.apache.cordova.splashscreen': '1.0.0' }
% Getting installed plugins for project       
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'list' ]
% The output of `cordova plugins list`: com.meteor.cordova-update 0.0.1 "CordovaUpdate"
org.apache.cordova.console 0.2.13 "Console"
org.apache.cordova.device 0.2.13 "Device"
org.apache.cordova.device-motion 0.2.11 "Device Motion"
org.apache.cordova.file 1.3.3 "File"
org.apache.cordova.file-transfer 0.5.0 "File Transfer"
org.apache.cordova.splashscreen 1.0.0 "Splashscreen"
org.apache.cordova.statusbar 0.1.10 "StatusBar"
uk.co.ilee.shake 0.3.1 "Shake Gesture Detection"

% Will check for cordova-tarball-plugins.json for tarball-url-based plugins previously installed.
% The tarball plugins lock: { 'com.meteor.cordova-update': 'https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2' }
% Getting installed plugins for project       
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'list' ]
% The output of `cordova plugins list`: com.meteor.cordova-update 0.0.1 "CordovaUpdate"
org.apache.cordova.console 0.2.13 "Console"
org.apache.cordova.device 0.2.13 "Device"
org.apache.cordova.device-motion 0.2.11 "Device Motion"
org.apache.cordova.file 1.3.3 "File"
org.apache.cordova.file-transfer 0.5.0 "File Transfer"
org.apache.cordova.splashscreen 1.0.0 "Splashscreen"
org.apache.cordova.statusbar 0.1.10 "StatusBar"
uk.co.ilee.shake 0.3.1 "Shake Gesture Detection"

% Will check for cordova-tarball-plugins.json for tarball-url-based plugins previously installed.
% The tarball plugins lock: { 'com.meteor.cordova-update': 'https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2' }
% Uninstalling a plugin com.meteor.cordova-update
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'rm', 'com.meteor.cordova-update' ]
% Removing plugin from the tarball plugins lock com.meteor.cordova-update
% Will check for cordova-tarball-plugins.json for tarball-url-based plugins previously installed.
% The tarball plugins lock: { 'com.meteor.cordova-update': 'https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2' }
% Will write cordova-tarball-plugins.json     
% Uninstalling a plugin org.apache.cordova.console
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'rm', 'org.apache.cordova.console' ]
% Uninstalling a plugin org.apache.cordova.device
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'rm', 'org.apache.cordova.device' ]
% Uninstalling a plugin org.apache.cordova.device-motion
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'rm', 'org.apache.cordova.device-motion' ]
% Plugin removal threw an error: Error running /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh
The plugin 'org.apache.cordova.device-motion' is required by (uk.co.ilee.shake), skipping uninstallation.


% Uninstalling a plugin org.apache.cordova.file
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'rm', 'org.apache.cordova.file' ]
% Plugin removal threw an error: Error running /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh
The plugin 'org.apache.cordova.file' is required by (org.apache.cordova.file-transfer), skipping uninstallation.


% Uninstalling a plugin org.apache.cordova.file-transfer
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'rm', 'org.apache.cordova.file-transfer' ]
% Uninstalling a plugin org.apache.cordova.splashscreen
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'rm', 'org.apache.cordova.splashscreen' ]
% Uninstalling a plugin org.apache.cordova.statusbar
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'rm', 'org.apache.cordova.statusbar' ]
% Uninstalling a plugin uk.co.ilee.shake      
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'rm', 'uk.co.ilee.shake' ]
% Getting installed plugins for project       
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'list' ]
% The output of `cordova plugins list`: org.apache.cordova.file 1.3.3 "File"

% Will check for cordova-tarball-plugins.json for tarball-url-based plugins previously installed.
% The tarball plugins lock: {}                
% Uninstalling a plugin org.apache.cordova.file
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'rm', 'org.apache.cordova.file' ]
% Getting installed plugins for project       
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'list' ]
% The output of `cordova plugins list`: No plugins added. Use `cordova plugin add <plugin>`.

% Will check for cordova-tarball-plugins.json for tarball-url-based plugins previously installed.
% The tarball plugins lock: {}                
% Ensuring that platforms in cordova build project are in sync
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'platform', 'list' ]
% The output of `cordova platforms list`: Installed platforms: 
Available platforms: amazon-fireos, android, blackberry10, browser, firefoxos, ubuntu

% The platform is not in the Cordova project: android
Running command  which jarsigner              
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle
/home/dandv/.meteor/android_bundle/android-sdk/build-tools/21.0.0/aapt version
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/tools/android list
target
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/tools/android list avd
--compact
Found AVDS: [ 'meteor', '' ]                  
Found /dev/kvm                                
% Adding a platform android                   
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'platform', 'add', 'android' ]
% The platform is not in the Cordova project: ios
% Installing a plugin org.apache.cordova.console 0.2.13                            
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk     
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'org.apache.cordova.console@0.2.13' ]
% Installing a plugin org.apache.cordova.file 1.3.3                                
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk     
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'org.apache.cordova.file@1.3.3' ]
% Installing a plugin org.apache.cordova.file-transfer 0.5.0                       
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk     
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'org.apache.cordova.file-transfer@0.5.0' ]
% Installing a plugin uk.co.ilee.shake 0.3.1                                       
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk     
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'uk.co.ilee.shake@0.3.1' ]
% Installing a plugin org.apache.cordova.device 0.2.13                             
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk     
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'org.apache.cordova.device@0.2.13' ]
% Installing a plugin com.meteor.cordova-update https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2
% Fetching a tarball from url: https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2
% Downloading with curl                                                            
% Running synchronously:  curl [ '-L',                                             
  'https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2',
  '-o',
  '/home/dandv/meteor-shake/example/.meteor/local/cordova-build/local-plugins/com.meteor.cordova-update.tgz' ]
% Create a folder for the plugin /home/dandv/meteor-shake/example/.meteor/local/cordova-build/local-plugins/com.meteor.cordova-update
% Untarring the tarball with plugin                                                
% Running synchronously:  tar [ 'xf',                                              
  '/home/dandv/meteor-shake/example/.meteor/local/cordova-build/local-plugins/com.meteor.cordova-update.tgz',
  '-C',
  '/home/dandv/meteor-shake/example/.meteor/local/cordova-build/local-plugins/com.meteor.cordova-update',
  '--strip-components=1' ]
% Untarring succeeded, removing the tarball                                        
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk     
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin',
  'add',
  '/home/dandv/meteor-shake/example/.meteor/local/cordova-build/local-plugins/com.meteor.cordova-update' ]
% Will check for cordova-tarball-plugins.json for tarball-url-based plugins previously installed.
% The tarball plugins lock: {}                                                     
% Will write cordova-tarball-plugins.json                                          
% Installing a plugin org.apache.cordova.statusbar 0.1.10                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk     
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'org.apache.cordova.statusbar@0.1.10' ]
% Installing a plugin org.apache.cordova.splashscreen 1.0.0                        
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk     
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'org.apache.cordova.splashscreen@1.0.0' ]
% Copying the JS/CSS files one level up                                            
% Removing the www folder                                                          
% Writing www/application folder                                                   
% Writing index.html                                                               
% Writing meteor_cordova_loader                                                    
% Writing a default index.html for cordova app
% Running the build command                   
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running synchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ '--verbose', 'build', 'android' ]
% Done building the cordova build project     
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Starting android emulator                     
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/tools/android list avd
--compact
Found AVDS: [ 'meteor', '' ]                  
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/tools/emulator -avd
meteor
[[[[[ ~/meteor-shake/example ]]]]]            

=> Started proxy.                             
Found /dev/kvm                                
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
=> Started MongoDB.                           
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"offline"}
Waiting for emulator                          
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
Running command                               
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dandv/.meteor/android_bundle/android-sdk/tools:/home/dandv/.meteor/android_bundle/android-sdk/platform-tools
ANDROID_SDK_HOME=/home/dandv/.meteor/android_bundle  /home/dandv/.meteor/android_bundle/android-sdk/platform-tools/adb
devices -l
Found device {"id":"emulator-5554","state":"device","product":"sdk_x86","model":"Android_SDK_built_for_x86","device":"generic_x86"}
Found emulator                                
% Execing cordova for platform android        
% isDevice: false                             
% Running emulator: /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'run', '--verbose', '--emulator', 'android' ]
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running asynchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/cordova.sh [ 'run', '--verbose', '--emulator', 'android' ]
% Clearing logs for Android with `adb logcat -c`, should time-out in 5 seconds
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running asynchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/adb.sh [ 'logcat', '-c' ]
% Done clearing Android logs.                 
% Tailing logs for android with `adb logcat -s CordovaLog`
Using (built-in) Android SDK at /home/dandv/.meteor/android_bundle/android-sdk
% Running asynchronously:  /home/dandv/.meteor/packages/meteor-tool/.1.1.3.sj0psg++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/cordova-scripts/adb.sh [ 'logcat', '-s', 'CordovaLog' ]
% Done execing cordova for platform android   
=> Started app on Android Emulator.           
Generating config.xml from defaults for platform "android"
Calling plugman.prepare for platform "android"
Preparing android projecton                  |
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'org.apache.cordova.console',
  'org.apache.cordova.file',
  'org.apache.cordova.file-transfer',
  'uk.co.ilee.shake',
  'org.apache.cordova.device',
  'com.meteor.cordova-update',
  'org.apache.cordova.statusbar',
  'org.apache.cordova.splashscreen',
  'org.apache.cordova.device-motion' ]
Writing out cordova_plugins.js...
Wrote out Android application name to "example"
deleted: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-land-hdpi/screen.png
deleted: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-land-ldpi/screen.png
deleted: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-land-mdpi/screen.png
deleted: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-land-xhdpi/screen.png
deleted: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-port-hdpi/screen.png
deleted: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-port-ldpi/screen.png
deleted: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-port-mdpi/screen.png
deleted: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-port-xhdpi/screen.png
splash screens: [{"src":"resources/android_ldpi_portrait.splash.png","density":"port-ldpi","platform":"android","width":"320","height":"426"},{"src":"resources/android_ldpi_landscape.splash.png","density":"land-ldpi","platform":"android","width":"426","height":"320"},{"src":"resources/android_mdpi_portrait.splash.png","density":"port-mdpi","platform":"android","width":"320","height":"470"},{"src":"resources/android_mdpi_landscape.splash.png","density":"land-mdpi","platform":"android","width":"470","height":"320"},{"src":"resources/android_hdpi_portrait.splash.png","density":"port-hdpi","platform":"android","width":"480","height":"640"},{"src":"resources/android_hdpi_landscape.splash.png","density":"land-hdpi","platform":"android","width":"640","height":"480"},{"src":"resources/android_xhdpi_portrait.splash.png","density":"port-xhdpi","platform":"android","width":"720","height":"960"},{"src":"resources/android_xhdpi_landscape.splash.png","density":"land-xhdpi","platform":"android","width":"960","height":"720"}]
copying image from /home/dandv/meteor-shake/example/.meteor/local/cordova-build/resources/android_ldpi_portrait.splash.png to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-port-ldpi/screen.png
copying image from /home/dandv/meteor-shake/example/.meteor/local/cordova-build/resources/android_ldpi_landscape.splash.png to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-land-ldpi/screen.png
copying image from /home/dandv/meteor-shake/example/.meteor/local/cordova-build/resources/android_mdpi_portrait.splash.png to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-port-mdpi/screen.png
copying image from /home/dandv/meteor-shake/example/.meteor/local/cordova-build/resources/android_mdpi_landscape.splash.png to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-land-mdpi/screen.png
copying image from /home/dandv/meteor-shake/example/.meteor/local/cordova-build/resources/android_hdpi_portrait.splash.png to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-port-hdpi/screen.png
copying image from /home/dandv/meteor-shake/example/.meteor/local/cordova-build/resources/android_hdpi_landscape.splash.png to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-land-hdpi/screen.png
copying image from /home/dandv/meteor-shake/example/.meteor/local/cordova-build/resources/android_xhdpi_portrait.splash.png to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-port-xhdpi/screen.png
copying image from /home/dandv/meteor-shake/example/.meteor/local/cordova-build/resources/android_xhdpi_landscape.splash.png to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-land-xhdpi/screen.png
deleted: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-hdpi/icon.png
deleted: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-ldpi/icon.png
deleted: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-xhdpi/icon.png
copying image from /home/dandv/meteor-shake/example/.meteor/local/cordova-build/resources/android_ldpi.icon.png to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-ldpi/icon.png
copying image from /home/dandv/meteor-shake/example/.meteor/local/cordova-build/resources/android_hdpi.icon.png to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-hdpi/icon.png
copying image from /home/dandv/meteor-shake/example/.meteor/local/cordova-build/resources/android_xhdpi.icon.png to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-xhdpi/icon.png
Wrote out Android package name to "com.id1tzqtvk1mlppj11wp7ct"
Running command: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/cordova/run --emulator
=> Started your app.                          

=> App running at: http://localhost:3000/
Buildfile: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/build.xml
-set-mode-check:
-set-debug-files:
-check-env:
 [checkenv] Android SDK Tools Revision 23.0.2
 [checkenv] Installed at /home/dandv/.meteor/android_bundle/android-sdk
-setup:
     [echo] Project Name: CordovaApp
  [gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 21.0.0
     [echo] Resolving Build Target for CordovaApp...
[gettarget] Project Target:   Android 4.4.2
[gettarget] API level:        19
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/rsObj
    [mkdir] Created dir: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/rsLibs
     [echo] ----------
     [echo] Resolving Dependencies for CordovaApp...
[dependency] Library dependencies:
[dependency] 
[dependency] ------------------
[dependency] Ordered libraries:
[dependency] 
[dependency] ------------------
     [echo] ----------
     [echo] Building Libraries with 'debug'...
nodeps:
-set-mode-check:
-set-debug-files:
-check-env:
 [checkenv] Android SDK Tools Revision 23.0.2
 [checkenv] Installed at /home/dandv/.meteor/android_bundle/android-sdk
-setup:
     [echo] Project Name: CordovaApp
  [gettype] Project Type: Android Library
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 21.0.0
     [echo] Resolving Build Target for CordovaApp...
[gettarget] Project Target:   Android 4.4.2
[gettarget] API level:        19
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/CordovaLib/ant-build/rsObj
    [mkdir] Created dir: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/CordovaLib/ant-build/rsLibs
     [echo] ----------
     [echo] Resolving Dependencies for CordovaApp...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency] 
[dependency] ------------------
-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Found modified input file
     [aapt] Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.
-pre-compile:
-compile:
     [echo] Creating library output jar file...
-post-compile:
-obfuscate:
-dex:
     [echo] Library project: do not convert bytecode...
-crunch:
   [crunch] Crunching PNG Files in source dir: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/CordovaLib/res
   [crunch] To destination dir: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/CordovaLib/ant-build/res
   [crunch] Crunched 0 PNG files to update cache
-package-resources:
     [echo] Library project: do not package resources...
-package:
     [echo] Library project: do not package apk...
-post-package:
-do-debug:
     [echo] Library project: do not create apk...
[propertyfile] Updating property file: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/CordovaLib/ant-build/build.prop
[propertyfile] Updating property file: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/CordovaLib/ant-build/build.prop
[propertyfile] Updating property file: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/CordovaLib/ant-build/build.prop
[propertyfile] Updating property file: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/CordovaLib/ant-build/build.prop
-post-build:
debug:
-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Found new input file
     [aapt] Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.
-pre-compile:
     [echo] Set jars path to: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/CordovaLib/ant-build/classes.jar
-compile:
    [javac] Compiling 2 source files to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/classes
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 3 warnings
-post-compile:
-obfuscate:
-dex:
      [dex] input: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/classes
      [dex] input: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/CordovaLib/ant-build/classes.jar
      [dex] Using Pre-Dexed classes-0c880c53f51bf3a9455df090300926a6.jar <- /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/CordovaLib/ant-build/classes.jar
      [dex] Found modified input file
      [dex] Converting compiled files and external libraries into /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/classes.dex...
       [dx] Merged dex A (89 defs/106.0KiB) with dex B (209 defs/316.7KiB). Result is 298 defs/514.3KiB. Took 0.2s
-crunch:
   [crunch] Crunching PNG Files in source dir: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res
   [crunch] To destination dir: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res
   [crunch] Processing image to cache: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-hdpi/icon.png => /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-hdpi/icon.png
   [crunch]   (processed image to cache entry /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-hdpi/icon.png: 0% size of source)
   [crunch] Processing image to cache: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-land-hdpi/screen.png => /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-land-hdpi/screen.png
   [crunch]   (processed image to cache entry /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-land-hdpi/screen.png: 27% size of source)
   [crunch] Processing image to cache: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-land-ldpi/screen.png => /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-land-ldpi/screen.png
   [crunch]   (processed image to cache entry /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-land-ldpi/screen.png: 0% size of source)
   [crunch] Processing image to cache: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-land-mdpi/screen.png => /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-land-mdpi/screen.png
   [crunch]   (processed image to cache entry /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-land-mdpi/screen.png: 38% size of source)
   [crunch] Processing image to cache: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-land-xhdpi/screen.png => /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-land-xhdpi/screen.png
   [crunch]   (processed image to cache entry /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-land-xhdpi/screen.png: 34% size of source)
   [crunch] Processing image to cache: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-ldpi/icon.png => /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-ldpi/icon.png
   [crunch]   (processed image to cache entry /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-ldpi/icon.png: 0% size of source)
   [crunch] Processing image to cache: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-port-hdpi/screen.png => /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-port-hdpi/screen.png
   [crunch]   (processed image to cache entry /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-port-hdpi/screen.png: 26% size of source)
   [crunch] Processing image to cache: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-port-ldpi/screen.png => /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-port-ldpi/screen.png
   [crunch]   (processed image to cache entry /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-port-ldpi/screen.png: 0% size of source)
   [crunch] Processing image to cache: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-port-mdpi/screen.png => /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-port-mdpi/screen.png
   [crunch]   (processed image to cache entry /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-port-mdpi/screen.png: 0% size of source)
   [crunch] Processing image to cache: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-port-xhdpi/screen.png => /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-port-xhdpi/screen.png
   [crunch]   (processed image to cache entry /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-port-xhdpi/screen.png: 34% size of source)
   [crunch] Processing image to cache: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/res/drawable-xhdpi/icon.png => /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-xhdpi/icon.png
   [crunch]   (processed image to cache entry /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/res/drawable-xhdpi/icon.png: 0% size of source)
   [crunch] Crunched 11 PNG files to update cache
-package-resources:
     [aapt] Found modified input file
     [aapt] Creating full resource package...
     [aapt] Warning: AndroidManifest.xml already defines debuggable (in http://schemas.android.com/apk/res/android); using existing value in manifest.
-package:
[apkbuilder] Found modified input file
[apkbuilder] Creating CordovaApp-debug-unaligned.apk and signing it with a debug key...
-post-package:
-do-debug:
 [zipalign] Running zip align on final apk...
     [echo] Debug Package: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/CordovaApp-debug.apk
[propertyfile] Updating property file: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/build.prop
[propertyfile] Updating property file: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/build.prop
[propertyfile] Updating property file: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/build.prop
[propertyfile] Updating property file: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/build.prop
-post-build:
     [move] Moving 1 file to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build
     [move] Moving 1 file to /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/CordovaLib/ant-build
debug:
BUILD SUCCESSFUL
Total time: 5 seconds
Built the following apk(s):
    /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/CordovaApp-debug.apk
Installing app on emulator...
Using apk: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/ant-build/CordovaApp-debug.apk
Launching application...
LAUNCH SUCCESS
Command finished with error code 0: /home/dandv/meteor-shake/example/.meteor/local/cordova-build/platforms/android/cordova/run --emulator
I20150419-00:45:32.952(-7) (android:meteor_cordova_loader.js:12) METEOR CORDOVA DEBUG (meteor_cordova_loader.js) Loading from url: http://meteor.local
@glasser
Copy link
Contributor

glasser commented Apr 29, 2015

So, Meteor uninstalls and reinstalls all plugins if it needs to make any changes to the set of installed Cordova plugins. I'm not sure why, but there's this comment:

  // Due to the dependency structure of Cordova plugins, it is impossible to
  // upgrade the version on an individual Cordova plugin. Instead, whenever a
  // new Cordova plugin is added or removed, or its version is changed,
  // we just reinstall all of the plugins.

Adding some logs to your reproduction, it seems to be upset that org.apache.cordova.device-motion is installed but has not been requested. This plugin is a dependency of uk.co.ilee.shake.

So... is the issue that Meteor cordova doesn't deal well with plugins that have dependencies?

@glasser glasser changed the title "Installing Cordova plugins" downloads plugins too often Meteor reinstalls all Cordova plugins on every execution if any plugin has a dependency Apr 29, 2015
@Slava
Copy link
Contributor

Slava commented May 22, 2015

I am not convinced this is a problem of Meteor. It looks like the same would happen on a plain Cordova.

@Slava Slava closed this as completed May 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants