i am still - after months of building an meteor app - trying to actually publish it into google play (and of course i thought i would easily make it an iphone app, ohboy, hahahaaaa) and well, this is now my third day, i am not even close to publishing android. what i did so far:
type meteor add-platform:
it tthrows an error, i find that one has to manually create a certain folder in the depths of the file system and run a dubious install command.
then i installled a few things and well - plattform android was added. 1.5 days. and not of the most fun kind.
you know - if you think 'why don’t you do something else instead??'
I WORKED ON THIS APP FOR MONTHS NOW AND NOT TO HAVE IT SIT ON MY LOCALHOST SO I CAN SHOW IT TO MY FRIENDS ON MY LAPTOP!!! so should i discard this work? or go through this hell of meteor publishing?
then i type meteor run android.
no error, but no emulator, only a spinning -.
nice. hours of fiddling, googling. then: i have to run android studio’s hyperflux manager or something and then change the BIOS!!! haha, i do it, i am a hero, i like it, it’s like a strange adventure game. so now, i can open an emulator in android studio, so i think HA!! and type meteor run android.
and i get this nasty son of a bitch message.
any ideas???
(and in general dear meteor team: take the windows version down. don’t tell anyone that you built something useful for windows 8.
and maybe you want to please reprogram my app into a technology that works. it’s really great and it should be launched!!!)
okay:
C:\Users\ma-ia\LongevityBasics>meteor run android
C:\Users\ma-ia\AppData\Local.meteor\packages\meteor-tool\1.4.1_2\mt-os.windows.
x86_32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:165
throw error;
^
Error: unexpected eof
at decorate (C:\Users\ma-ia\AppData\Local.meteor\packages\meteor-tool\1.4.1
_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\lib\abstract.js:67:3
6)
at Extract.Abstract.error (C:\Users\ma-ia\AppData\Local.meteor\packages\met
eor-tool\1.4.1_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\lib\ab
stract.js:61:12)
at Extract._streamEnd (C:\Users\ma-ia\AppData\Local.meteor\packages\meteor-
tool\1.4.1_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\tar\lib\extract.js
:91:35)
at BlockStream. (C:\Users\ma-ia\AppData\Local.meteor\packages\me
teor-tool\1.4.1_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\tar\lib\parse
.js:51:8)
at emitNone (events.js:67:13)
at BlockStream.emit (events.js:166:7)
at BlockStream._emitChunk (C:\Users\ma-ia\AppData\Local.meteor\packages\met
eor-tool\1.4.1_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\block-stream\b
lock-stream.js:203:10)
at BlockStream.resume (C:\Users\ma-ia\AppData\Local.meteor\packages\meteor-
tool\1.4.1_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\block-stream\block
-stream.js:58:15)
at Extract.Reader.resume (C:\Users\ma-ia\AppData\Local.meteor\packages\mete
or-tool\1.4.1_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\lib\rea
der.js:242:34)
at Entry. (C:\Users\ma-ia\AppData\Local.meteor\packages\meteor-t
ool\1.4.1_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\tar\lib\parse.js:26
1:8)
at emitNone (events.js:67:13)
at Entry.emit (events.js:166:7)
at Entry.resume (C:\Users\ma-ia\AppData\Local.meteor\packages\meteor-tool\1
.4.1_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\tar\lib\entry.js:93:8)
at FileWriter. (C:\Users\ma-ia\AppData\Local.meteor\packages\met
eor-tool\1.4.1_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\lib\di
r-writer.js:147:11)
at emitNone (events.js:67:13)
at FileWriter.emit (events.js:166:7)
at WriteStream. (C:\Users\ma-ia\AppData\Local.meteor\packages\me
teor-tool\1.4.1_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fstream\lib\f
ile-writer.js:45:10)
at emitOne (events.js:77:13)
at WriteStream.emit (events.js:169:7)
at C:\Users\ma-ia\AppData\Local.meteor\packages\meteor-tool\1.4.1_2\mt-os.w
indows.x86_32\dev_bundle\lib\node_modules\graceful-fs\graceful-fs.js:214:14
at C:\Users\ma-ia\AppData\Local.meteor\packages\meteor-tool\1.4.1_2\mt-os.w
indows.x86_32\dev_bundle\lib\node_modules\graceful-fs\graceful-fs.js:241:16
at C:\Users\ma-ia\AppData\Local.meteor\packages\meteor-tool\1.4.1_2\mt-os.w
indows.x86_32\dev_bundle\lib\node_modules\cordova-lib\node_modules\npm\node_modu
les\graceful-fs\graceful-fs.js:232:16
at FSReqWrap.oncomplete (fs.js:82:15)
C:\Users\ma-ia\LongevityBasics>
I used to be a Windows guy for a long time, but development is way easier on a Mac system, not only for Meteor. BTW: Did you know that it is quite easy to install MacOS on Windows machines using VMware, without any costs? Just google it. I used this setup when my Mac was in repair, and turned out to work quite well. This is also a way to build an iOS app even if you don’t own a Mac. Yep, I know this using a VM does not feel as comfortable as developing natively on Windows. But in fact it turns out that many tools (like Node) “just work” on Mac or Ubuntu, while using them on Windows, well, rather painful. Maybe this will change now, given that Microsoft has included an Ubuntu subsystem in the most recent Windows version.