Skip to main content
Participating Frequently
October 9, 2012
Question

How do I edit the AndroidManifest.xml, and where does it go?

  • October 9, 2012
  • 1 reply
  • 4884 views

We have developed an app in Flash that's already for sale in iTunes, and we're trying to get the Android version launched. One thing I can't figure out is how to edit the AndroidManifest.xml. With Flash/AIR for iOS you put the XML in the "included file list" in the publish settings. But this doesn't seem to work for Android. We just need to add a few attributes like screen size, and API version exclusions. Where do you do this!? Thanks!

This topic has been closed for replies.

1 reply

Inspiring
October 9, 2012

Look in the application descriptor file (YourAppName-app.xml) in the root directory of your project's src.  There you will find an <android> tag with <manifestAdditions>.

See http://help.adobe.com/en_US/air/build/WSfffb011ac560372f2fea1812938a6e463-8000.html#WSfffb011ac560372f33105f2a1293d3d21e0-7ffd for more info.

hankisaacAuthor
Participating Frequently
October 9, 2012

I tried that, but it's strange. When I add what I need to that XML and publish, it wipes out everything I added. I'm trying to add:

<supports-screens

                android:smallScreens="false"

                android:normalScreens="false"

                android:largeScreens="false"

                android:xlargeScreens="true"/>

I also get warning about permissions and application.xml.

hankisaacAuthor
Participating Frequently
October 10, 2012

anyone....anyone? Please!!