Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-28995

Packaging for android on linux using flex sdk 4.6 gives "aapt: cannot execute binary file"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.6 (Release)
    • None
    • Compiler API
    • None
    • Affected OS(s): Linux
      Affected OS(s):
      Browser: Other (specify version)
      Language Found: English

    Description

      I created a very simple flex application "HelloWorld.mxml".

      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark">
      <s:Button label="Hello World!" />
      </s:Application>

      After building the swf file, I try to package it for deployment on my Android tablet.

      adt -package -target apk -storetype pkcs12 -keystore newcert.p12 HelloWorld.apk HelloWorld-app.xml HelloWorld.swf

      After entering the certificate password I receive this error message:

      aapt tool failed: /opt/flexsdk4.6/lib/android/bin/aapt: /opt/flexsdk4.6/lib/android/bin/aapt: cannot execute binary file

      Packaging the app in Windows works fine.
      My entire flex sdk folder has execution permission.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: