[SOLVED] Meteor.loginWithPassword returns error 404 "Method 'login' not found'

It worked when I test it on local pc, user can login/logout without any problem.
Then I deploy the app on mobile using this command:

meteor run android-device

Upon user clicks login on the mobile, Meteor.loginWithPassword returns this:

errorClass {error: 404, reason: “Method ‘login’ not found”, details: undefined, message: “Method ‘login’ not found [404]”, errorType: “Meteor.Error”}

What could be wrong with the ‘login’? Why is it not found on the mobile?
Can anyone help please.

Nevermind, I figured it out. My latest deployment to heroku was a broken build, and that causes mobile app unable to communicate with the server. All is good now. Thanks.