Skip to main content
Participating Frequently
May 7, 2011
Question

Cannot install runtime or my app to my android device - Failure [INSTALL_FAILED_INVALID_APK]

  • May 7, 2011
  • 2 replies
  • 1358 views

Hi,

I get the following error if I want to install the AIR Runtime that comes with the SDK or my app that I compiled to an APK file.... I get the following message:

Failure [INSTALL_FAILED_INVALID_APK]

_____________________________________________

adt -installRuntime -platform andrid -device HT0BSPY06247 -package Runtime.apk
Failure [INSTALL_FAILED_INVALID_APK]

My custom app runs in the emulator... but it is not a problemn with that - because the AIR Runtime won't even install!


Help!!!!!!!!!

Thanks

This topic has been closed for replies.

2 replies

Chris W. Griffith
Community Expert
Community Expert
May 9, 2011

Does your device meet the required specs? Can you install an existing AIR for Android runtime from the Google Market?

Chris

relaxatraja
Inspiring
May 8, 2011

adt install runtime.apk

If you'r publishing from flash there you should need to give permissions in a specific tab. check all the boxes and install your app again.

Participating Frequently
May 8, 2011

Hi,

Unfortunately adT install runtime.apk does not work

adB install runtime.apk does work, but it comes up with the same error. Failure [INSTALL_FAILED_INVALID_APK]

I managed to install the sample app apk found here for a sample app... http://coenraets.org/blog/2010/05/sample-application-using-flex-and-air-for-android/

but when I try to install the runtime, did not install properly... Neither did my flash custom app.

For my app, I created a simple SWF animation with Flash 8. It runs with ADL, but when I try to install it on the device, it doesn't work.


Help with both the Runtime and the custom app. Here is the XML for the custom app below.

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://ns.adobe.com/air/application/2.6">
    <id>samples.android.HelloWorld</id>
    <versionNumber>0.0.1</versionNumber>
    <filename>HelloWorld</filename>
    <initialWindow>
        <content>test1.swf</content>
    </initialWindow>
    <supportedProfiles>mobileDevice</supportedProfiles>
</application>

Thanks in advance....

relaxatraja
Inspiring
May 9, 2011

For android only use adb install method, adt will be used in packager for iphone. Eclair and Froyo runtimes are there, what you are using?