android


Meteor `Please add the Android platform` but next `Platform android already added`


Source
I do tutorial:
https://www.meteor.com/tutorials/blaze/running-on-mobile
Error
I am executing command:
meteor run android-device
And obtaining info that I should add android platform
Please add the Android platform to your project first.
Run: meteor add-platform android
But when I run command:
meteor add-platform android --verbose
Then I get confounding error suggesting that platform android already added
Adding platform Android to Cordova project
%% No scripts found for hook "before_platform_add".
=> Errors executing Cordova commands:
While adding platform Android to Cordova project:
Cordova error: Platform android already added.
at /home/daniel/.meteor/packages/meteor-tool/.1.4.3_2.18ygcop++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/cordova/platform.js:130:31
at _fulfilled (/home/daniel/.meteor/packages/meteor-tool/.1.4.3_2.18ygcop++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/home/daniel/.meteor/packages/meteor-tool/.1.4.3_2.18ygcop++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/home/daniel/.meteor/packages/meteor-tool/.1.4.3_2.18ygcop++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/q/q.js:749:13)
at /home/daniel/.meteor/packages/meteor-tool/.1.4.3_2.18ygcop++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/q/q.js:557:44
at flush (/home/daniel/.meteor/packages/meteor-tool/.1.4.3_2.18ygcop++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/q/q.js:108:17)
at nextTickCallbackWith0Args (node.js:489:9)
at process._tickCallback (node.js:418:13)
=> awaited here:
at Function.Promise.await
(/home/daniel/.meteor/packages/meteor-tool/.1.4.3_2.18ygcop++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:35:12)
at CordovaProject.runCommands (/tools/cordova/project.js:715:22)
at CordovaProject.addPlatform (/tools/cordova/project.js:372:10)
at CordovaProject.ensurePlatformsAreSynchronized (/tools/cordova/project.js:403:12)
at /tools/cli/commands-cordova.js:60:20
at /tools/utils/buildmessage.js:271:13
at [object Object]._.extend.withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:264:29
at [object Object]._.extend.withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:262:18
at [object Object]._.extend.withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:253:23
at [object Object]._.extend.withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.capture (/tools/utils/buildmessage.js:252:19)
at Object.main.captureAndExit (/tools/cli/main.js:271:29)
at Command.func (/tools/cli/commands-cordova.js:42:8)
at /tools/cli/main.js:1483:23
(If the error message contains suggestions for a fix, note that this may not apply to the Meteor integration. You can try running again with the --verbose option to help diagnose the issue.)
Additional info:
Smartphone is connected
adb devices
List of devices attached
b799f64c device
My system info:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
NPM
npm -v
3.5.2
Compiling by pure Cordova works correctly

Related Links

Show gone view in Android Studio in preview
Jersey 1.8 Client on Android MIME media type application/xml was not found
Android: Is there a better way to create this View that has two States?
Android Emulator WARNING:
Android Renderscript with Gradle
onItemLongClick help required android listitem
How to stop a Media Player of another application?
EditText.getText().toString() shows error
fetching data in parallel [closed]
ListView is messed up
Alternative Jersey Android
What is difference between 'debug.keystore' and 'release.keystore' in Android?
onMenuItemClick invoked several times
Android folding animation in facebook like slider
tab layout in android
Delphi Android Memory Leak(or another slowdown)

Categories

HOME
batch-file
django
ecmascript-6
android-studio-2.2
error-handling
cakephp-3.4
emscripten
3d-reconstruction
gluon-mobile
vert.x
qpython
openstreetmap
endeca
appcelerator-studio
text-mining
java.util.logging
resultset
php-5.6
endpoint
symmetricds
scrolltop
package.json
google-content-api
html5-appcache
windows-xp
google-maps-autocomplete
babel
xunit
definitelytyped
linked-data
intersystems-cache
uitapgesturerecognizer
gitlab-api
send
livelink
anki
dst
complex-numbers
mockjax
git-squash
github3.py
android-maps-extensions
python-pptx
docfx
sql-server-ce
nohup
connection-pool
odroid
spring-mvc-test
numberpicker
comparison-operators
chronicle-map
http-request
apache-spark-dataset
zenhub
magic-draw
trigger.io
donations
angular2-testing
resourcemanager
mongodb-php
phpwebsocket
yajsw
nio2
rewrite
forwarding
fuelcms
canalyzer
ember-cli-rails
apache-commons-daemon
bufferedinputstream
document-repository
rmysql
insight.database
with-statement
ray
rfc5322
gwt-openlayers
jammer
inputmismatchexception
observium
actiondispatch
chart-director
tree-balancing
oracle-enterprise-linux
azman
usertype
predicatebuilder
expression-blend-4
xcelsius
mysql-error-1205
google-ajax-api
mbeans
timertask
tabpanel
entitykey
technical-debt
information-management
lemmatization
wspbuilder

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App