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

Editing the AndroidManifest.xml file

New Here ,
Aug 08, 2011 Aug 08, 2011

Hi guys,

I'm trying to figure out how I can manually edit the AndroidManifest.xml file of an APK.

It seems that they're generated by the ADL compiler, but I'm not seeing any options to edit the file itself, nor can I find the templates in the AIR 2.7 sdk.

I need to do this to try out some features on android 3.2.1 on a prototype device.

Anyone know how to do this? Do I have to get into using the google android SDK for my packaging? Or can I edit a config/command somewhere?

Thanks in advance,

Alias Cummins

TOPICS
Development
6.3K
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
Mentor ,
Aug 08, 2011 Aug 08, 2011

The Android manifest is generated, in part, from the <android> section of your application descriptor. (See http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff1.html). If the items that you need to add can be put into this <android> section, then that's definitely the easiest way.

Otherwise, you have to open up the APK, extract the manifest, edit it and put everything back together, sign it, etc. This: http://code.google.com/p/android-apktool/ might help (I haven't tried it personally).

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 ,
Aug 10, 2011 Aug 10, 2011
LATEST

You could also use this technique if the 2 first suggestions dont work : http://www.jamesward.com/2011/05/11/extending-air-for-android/

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