Skip to main content
Participant
April 18, 2011
Question

Start Air app from shell (adb shell am start)?

  • April 18, 2011
  • 1 reply
  • 2891 views

SDK: 2.6

Im trying to auto start my app when I push it to a device for testing. Im using the adb shell with the "am start" command.

Example In Bash: $am start air.SampleProject

Returns the error:

Starting: Intent { act=android.intent.action.VIEW dat=air.SampleProject}
Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=air.SampleProject flg=0x10000000 }


Help?

I have found you have to start the start or maybe add something else int he manifest but I cant figure it out. Is there a way to start a air app from shell?

This topic has been closed for replies.

1 reply

Participating Frequently
April 20, 2011

Using ADL

$ adl releaseDirectory/yourApp-app.xml

That's it. Just make sure you have your SWF file to be called from the application descriptor.