1 Reply Latest reply on Oct 6, 2011 5:38 PM by Shongrunden

    Flex mobile project - ant build issue

    betheflexcoder Level 2

      Hi,

       

      I am getting an error when i compile my mobile project with ant build script. "Could not resolve <s:ViewNavigatorApplication> to a component implementation." But, I am using the same build file to build a simple helloworld mobile project which works fine.

       

      <mxmlc

         file="${main_class}"

         output="${output_loc}"

         locale="${LOCALE}"

         static-rsls="false"

         accessible="false"

         configname="airmobile"

         debug="${debug_mode}"

         failonerror="true"

         fork="true"

         maxmemory="512m">

        

        

         <source-path path-element="${class_path}"/>

        

         <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">

             <include name="libs/*"/>

            </compiler.library-path>

         <library-path dir="${FLEX_HOME}/frameworks/locale/${LOCALE}" append="true"/>

            <library-path dir="${lib_path}" includes="*.swc" append="true"/>

         <external-library-path file="${AIR_GLOBAL}" append="true"/>

        

         <compiler.library-path dir="D:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/MobilityServer/WEB-INF/flex/libs/air" includes="airfds.swc" append="true"/>

            <compiler.library-path dir="D:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/MobilityServer/WEB-INF/flex/libs" includes="fds.swc" append="true"/>

            <compiler.library-path dir="D:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/MobilityServer/WEB-INF/flex/libs" includes="fiber.swc" append="true"/>

        

        

         <compiler.library-path dir="C:/Perforce/mobility/main/NextGen/client/libraries/external/robotlegs/1.4.0/bin" includes="robotlegs-framework-v1.4.0.swc" append="true"/>

       

        

                  

         <compiler.library-path dir="C:/Perforce/mobility/main/NextGen/client/libraries/CommonMobileLibrary/bin" includes="CommonMobile.swc" append="true"/>

         <compiler.library-path dir="C:/Perforce/mobility/main/NextGen/client/libraries/NativeMobileLibrary/bin" includes="ASNativeLibrary.swc" append="true"/>  </mxmlc>

       

      Message was edited by: betheflexcoder