1 Reply Latest reply on Sep 30, 2015 12:46 AM by alessandron39870879

    Problem with Flash Builder command line build using Apache Ant(<fb.exportReleaseBuild> task)

    fanxh

      When I use <fb.exportReleaseBuild> task to build by command line, one error occurred.

      (FlashBuild4.7 premium)

       

      ======

      fb.exportReleaseBuild] com.adobe.air.InvalidInputException: An implementation f

      or native extension 'InputMethodContext' required by the application was not fou

      nd for the target platform.

      ======

      Now my project used native extensions. (eg. libs/InputMethodExtension.ane)

      So how am I write to build.xml for using native extensions.

      Thanks!

        • 1. Re: Problem with Flash Builder command line build using Apache Ant(<fb.exportReleaseBuild> task)
          alessandron39870879

          Hi, I have the same issue.

           

          Some details: The projects uses Native Extensions. Compilation and exporting from Flash builder are OK

           

          This is my build.xml

          <?xml version="1.0"?>

          <project default="main">

              <target name="main">

                  <fb.exportReleaseBuild project="myproject" />

              </target>

          </project>

          and I run it by using the following script

           

          set WORKSPACE=path_to_my_workspace

           

          REM works with either FlashBuilderC.exe or eclipsec.exe

          "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\FlashBuilderC.exe" ^

              --launcher.suppressErrors ^

              -noSplash ^

            -configuration C:\flashbuilderconf ^

              -application org.eclipse.ant.core.antRunner ^

              -data "%WORKSPACE%" ^

              -file "%cd%\build.xml"

           

          and I get the same error

          fb.exportReleaseBuild] com.adobe.air.InvalidInputException: An implementation f

          or native extension 'InputMethodContext' required by the application was not fou

          nd for the target platform

          Am I missing anything?

           

          Thanks