I am an OS X user. To install my app on an android device i first “build - for android” (from the sublime text menu) then i go the mac console and run: " adb install ‘My App.apk’ " and it works wonders
but when I try to do the same from a windows cmd i get the following error:
[INSTALL_FAILED_INVALID_APK]
note: in the cmd i have to change the ’ for " --> adb install “My App.apk”
i am running it as admin… the device is shown on the list of attached devices.
Another trick is to upload the apk somewhere, eg. DropBox, then ask him/she to turn on “Allow apps from unknown sources”. After that the apk can be installed by just clicking the link.