I have a simplistic android app built using meteor and html5.
I have added the platform android for my project and so far so good,i can build an android app using
iron build --server 192.168.43.160:3000
and an android app is produced. I have signed the app and managed to install it in my android device.When the data changes in m server,that is reflected in realtime in my android app.
However,when i change the html in my app,my android app do not change accordingly.
I have not added an android device to test on,so when i run this command
qubit@qubit-HP-EliteBook-2540p:~/ft$ iron run android-device
> meteor run android-device --settings /home/qubit/ft/config/development/settings.json
[[[[[ ~/ft/app ]]]]]
=> Started proxy.
=> Started MongoDB.
WARNING: You are testing your app on a remote device. For the mobile app to be
able to connect to the local server, make sure your device is on the
same network, and that the network configuration allows clients to
talk to each other (no client isolation).
=> Errors executing Cordova commands:
While running Cordova app for platform Android with options --device:
Error: Command failed:
/home/qubit/ft/app/.meteor/local/cordova-build/platforms/android/cordova/run
--device
{ [CordovaError: Failed to deploy to device, no devices found.]
name: 'CordovaError',
message: 'Failed to deploy to device, no devices found.',
code: 0,
context: undefined } 'Failed to deploy to device, no devices found.\n at
/home/qubit/ft/app/.meteor/local/cordova-build/platforms/android/cordova/lib/device.js:59:29\n
at _fulfilled
(/home/qubit/ft/app/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:834:54)\n
at self.promiseDispatch.done
(/home/qubit/ft/app/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:863:30)\n
at Promise.promise.promiseDispatch
(/home/qubit/ft/app/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:796:13)\n
at
/home/qubit/ft/app/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:604:44\n
at runSingle
(/home/qubit/ft/app/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:137:13)\n
at flush
(/home/qubit/ft/app/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:125:13)\n
at process._tickCallback (node.js:458:13)'
at ChildProcess.exitCallback (/tools/utils/processes.js:151:23)
at ChildProcess.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:820:12)
/home/qubit/.meteor/packages/meteor-tool/.1.3.2_4.1bnw4r2++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/isopackets/cordova-support/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:116
throw error;
^
ExitWithCode:1
qubit@qubit-HP-EliteBook-2540p:~/ft$
i get the error that no device was added.
My question is,does the command iron run android-device
produce an HCP apk or is it the build command that does?.