Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

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

Explorer ,
Oct 09, 2012 Oct 09, 2012

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!

TOPICS
Development
4.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 09, 2012 Oct 09, 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#WSfffb011ac56037... for more info.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 09, 2012 Oct 09, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 10, 2012 Oct 10, 2012

anyone....anyone? Please!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 10, 2012 Oct 10, 2012
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 10, 2012 Oct 10, 2012
LATEST

if u have not edited the permission settings in the tool, usually it will not write over the custom xml. if it does however, set the file as read only. You may also want to unzip the final. apk just to be sure the compiler did not pull anything out of the xml

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines