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

What are the software testing techniques that can be used for memory testing in Android? [closed]
Retrieving Line1 number from TelephonyManager in Android
Directly list the available networks in android phone programmatically
How do i Intent to Device administrators
Get text in custom adapter from another activity
Social Auth - Android status update returns 403
Tint bitmap in layer-list
How to pause a thread after n minutes
Android + gradle: injecting a task into build
How to get files name from sky drive and show in list
How to pass data from a web page to an app which is about to be installed on iOS and Android
A z-index on views in android
mediaplayer starts again and again in oncreate method
Android jellybean usb computer connection not allowed
Not able to set bandwidth in Android app using b=AS
Access browser history in Android for all browsers

Categories

HOME
grok
azure-stream-analytics
delphi-7
apache-flink
pascal
sh
grafana
edge
rds
vxml
jax-ws
rcloud
extjs4.2
accessibility
windows-ce
x-cart
opengl-es-3.0
rtf
google-form
speech-synthesis
azure-powershell
feathersjs
swagger-2.0
drive
r-mice
string-concatenation
short-url
resourcebundle
dynamically-generated
xcode-ui-testing
surveymonkey
jackson-modules
soot
jmockit
sammy.js
installscript
mnist
batching
reason
cin
numberpicker
odoo-website
skylink
httrack
libgphoto2
term
gitlist
globalize
identification
remedy
jqchart
arules
cmp
iotivity
nikeplus-api
mapinfo
vorpal.js
simevents
nss
realsense
kendo-upload
vhosts
ess
android-launcher
apache-commons-daemon
user-permissions
rrule
procedural-programming
variadic-templates
boost-program-options
crowd
trdion2011
cuba
xml-dsig
ios8-extension
gae-quotas
sbcl
mt4j
notorm
ie8-compatibility-mode
cmmi
merb
onmousemove
jquery-blockui
josql
oracle-enterprise-linux
httponly
failing-tests
urlrewriter
google-floodlight
jqote
codebase
windows-identity
sifr3
technical-debt
change-management

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