Search code examples
androidapkadbdalvik

Unable to install fully signed apk file to hero live device version 2.3


I've kind of kicked my own butt for 3 hours trying to get this to work...

Can't get a fully signed apk file to install on my htc hero. The target versions are min: 3, target: 15 The hero is running 9

I am using the htc sync utility to install, and have successfully installed other 3rd party apk files.

The debuggable tag has been removed.

Error message: Installation failure. Please check the file and ensure that there is sufficient space of the mobile for installation. That's not a typo, it says 'of the mobile'

I have tried many different manifest configurations, but all with the same result. There is about 100 mg memory and 2 gb on sd available. The apk file is about 10k, and is signed.

I have had no trouble running any builds from the device on adb/eclipse.

I have been trying with multiple files all afternoon!


Solution

  • First enable installing applications from unknown sources in settings. Then there are a few ways to proceed:

    • Move the .apk to the device's sd card and use a file manager
    • Email the .apk as an attachment and open it on the device
    • Put the .apk in Dropbox or Google Drive or some other file sharing service and open the .apk on the device.