1. #101
    Sencha User
    Join Date
    May 2013
    Location
    Portugal
    Posts
    2
    Vote Rating
    0
    samuel5_89 is on a distinguished road

      0  

    Default CSS Problem

    CSS Problem


    Hi Brice!

    First of all, congratulations for your great work!

    I'm using Sencha Cordova Builder for 2 weeks and now I have a problem...

    I'm using a calendar plugin on my app (Ext.ux.TouchCalendar, available on: https://market.sencha.com/extensions...-touchcalendar) that requires a few css files.

    Everything is working perfectly, but when I build the app and test it in my tablet, the calendar doesn't display correctly like if the required calendar css files aren't imported.

    So I checked the folder
    \build\MyApp\android\assets\www\resources and those required calendar css files arent there, in spite of making all the imports in my index.html.

    Am I making those imports incorrectly?

    Sorry for my english.

    Thank you very much.

    Best Regards,
    Samuel.

  2. #102
    Sencha User
    Join Date
    May 2013
    Location
    Portugal
    Posts
    2
    Vote Rating
    0
    samuel5_89 is on a distinguished road

      0  

    Default


    Never mind, I fixed the problem by adding manually the css files to the specified folder before building to android.

    Quote Originally Posted by samuel5_89 View Post
    Hi Brice!

    First of all, congratulations for your great work!

    I'm using Sencha Cordova Builder for 2 weeks and now I have a problem...

    I'm using a calendar plugin on my app (Ext.ux.TouchCalendar, available on: https://market.sencha.com/extensions...-touchcalendar) that requires a few css files.

    Everything is working perfectly, but when I build the app and test it in my tablet, the calendar doesn't display correctly like if the required calendar css files aren't imported.

    So I checked the folder
    \build\MyApp\android\assets\www\resources and those required calendar css files arent there, in spite of making all the imports in my index.html.

    Am I making those imports incorrectly?

    Sorry for my english.

    Thank you very much.

    Best Regards,
    Samuel.

  3. #103
    Sencha User
    Join Date
    Apr 2013
    Posts
    1
    Vote Rating
    0
    kkarnayil is on a distinguished road

      0  

    Default Android folder missing

    Android folder missing


    Hey,
    i am building my sencha touch 2 app using sencha cordova and Phone gap 2.2.
    I changed path of framework in cordova properties file and also added the following line in build.xml

    <import file="D:/apache-tomcat-6.0.36-windows-x86/apache-tomcat-6.0.36/webapps/HealthWallPOCClient/sencha-cordova-builder-master/build-cordova.xml"/>
    <target name="-after-build" depends="-build-android"/>

    and i am getting the following error when i use cmd sencha app build package

    [INF] -is-android-init-ready:
    [INF] [echo] checking android initialization using the following resources:


    [INF] [echo] cordova library D:\PhoneGap
    [INF] [echo] android tools D:\PhoneGap\lib\android\bin
    [INF] [echo] android create script D:\PhoneGap\lib\android\bin\\create.bat
    [INF] [echo] android project D:\apache-tomcat-6.0.36-windows-x86\apache-tom
    cat-6.0.36\webapps\HealthWallPOCClient\build\HealthWallPOCClient\android
    [INF] [echo] android project built state...false
    [INF]
    [INF] -before-init-android-internal:
    [INF]
    [INF] -before-init-android:
    [INF]
    [INF] -init-android-internal:
    [INF] [echo] initializating android build...
    [INF] [echo] creating android project with the following details:
    [INF] [echo] project path: D:\apache-tomcat-6.0.36-windows-x86\apache-tomca
    t-6.0.36\webapps\HealthWallPOCClient\build\HealthWallPOCClient\android
    [INF] [echo] project namespace: com.example.HealthWallPOCClient
    [INF] [echo] project name: HealthWallPOCClient
    [INF] [exec] Missing one of the following:
    [INF] [exec] JDK: http://java.oracle.com
    [INF] [exec] Android SDK: http://developer.android.com
    [INF] [exec] Apache ant: http://ant.apache.org
    [ERR] [exec] Result: 1
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: D:\apache-tomcat-6.0.36-windows-x86\
    apache-tomcat-6.0.36\webapps\HealthWallPOCClient\build\HealthWallPOCClient\andro
    id does not exist.

  4. #104
    Sencha User
    Join Date
    May 2012
    Posts
    1
    Vote Rating
    0
    Rexroth4Sencha is on a distinguished road

      0  

    Default cordova is not defined

    cordova is not defined


    I'm using the Sencha Cordova Builder with phonegap-2.5.0 and Win7. The build is running fine (btw. great job Brice Mason!)
    My problem is, when I run my Android App I get a reference error because cordova is not defined. In my app.json file (in the generated Android project) I can find "path":"cordova-android.js" as expected. The file is also available.
    The app is working fine, if I add "<script type="text/javascript" src="cordova-android.js"></script>" manually to index.html.
    Where is my fault?

    David