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

getting error on navigation drawer
Android SQLiteHelper can't create FOREIGN KEY
Cannot get variables to display values in edittext form
Two EXTRA_MESSAGE from Intent
Android MapView getMap() returns null
Canonical way to write gradle task for adding new Android product flavors
Android task and back stack
How to get the starting time of an app in android
Is there any way to point location in Google map as Location written in EditText by user android
Android SDK 22.6 Malfunctions
android app installed but not able to see
How to retain instance when orientation change while communicating with server
Cannot start new project with Android Studio
Using getExternalFilesDir with multi SDCards (Galaxy S3)
Facebook Conceal .so files not uploading in Android Project
android simple facebook returning “cancelled by user” when trying to share a post

Categories

HOME
django
spark-streaming
webdriver
object
static
pascal
jelastic
graphics
aws-cli
cq5
regular-language
iis-6
odoo-8
barcode
g++
dkim
fhir
enthought
renjin
google-picker
cfml
lilypond
asciidoctor-pdf
google-cloud-print
fat
flooding
fractions
linked-data
angular-translate
winexe
panoramas
left-join
jmockit
playstation-portable
instantiation
joomla2.5
slacktextviewcontroller
servicestack-text
engine.io
sharepoint-workflow
magento-1.9.2.4
sessionstorage
bc
health-monitoring
jvmti
numberpicker
resolution
doc
portforwarding
parser-generator
softmax
apollostack
oim
opencmis
dbcontext
identification
bluez
google-cse
qtranslate
dt
flyout
cd-burning
django-1.10
donations
centrifuge
segment-io
adafruit
deep
database-relations
toast
mobiledoc-kit
inf
sapi
sciruby
oracle-spatial
visual-sourcesafe-2005
canalyzer
entity-framework-4.3
zxspectrum
mass-assignment
apache-spark-1.3
delayed-execution
beatsmusic
matrix-inverse
wxformbuilder
clickbank
ora-06550
gtm-oauth2
script#
inappsettingskit
chart-director
resource-management
device-width
fragmenttransaction
apache-commons-dbutils
http-daemon
delimited-text
application-verifier
filesystemobject
perl5.12
unmanagedresources
soappy
contentpresenter

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