1. #101
    Sencha User
    Join Date
    May 2013
    Location
    Portugal
    Posts
    16
    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
    16
    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

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

      0  

    Default Debug vs Release - Sencha cordova builder

    Debug vs Release - Sencha cordova builder


    Hi all.

    I'm using Sencha Cordova Builder to develop an app to iOS and Android. But when I build the application, the name of the created apk is "MyApp-debug.apk".
    Am I supposed to change any configuration?

    Thank you.

  6. #106
    Touch Premium Member
    Join Date
    Nov 2010
    Posts
    13
    Vote Rating
    1
    harleyflh75 is on a distinguished road

      0  

    Default deploying to webserver

    deploying to webserver


    First off, thank you very much for the tool.

    This problem pertains to my main project, but i decided to do a test case by starting a brand new project from scratch.
    i have the latest version of sencha-cordova-builder as well as sencha cmd v 3.1, cordova v 2.6, phonegap v2.4, and sencha v2.1.1
    i built a new app with sencha generate app which worked fine.
    modified the cordova.properties file as per the screencast.
    then i opened the build.xml file and added both the import of build-cordova.xml and target -after-build with -build-cordova-all
    then i ran sencha app build package
    i moved the contents of the package folder to a webserver and tried to access it from the browser on my phone....the blue loading screen with white dots is the only thing that shows and there are no errors.
    I have even tried to use the assets/www folder in the android build and the www folder in the ios build to no avail.

    If I repeat the process but skip adding the 2 nodes to the build.xml file, the browser serves up the site correctly.

    Is this as intended? or am I missing something

  7. #107
    Sencha User
    Join Date
    Feb 2012
    Location
    Munich, Germany
    Posts
    57
    Vote Rating
    1
    kodak is on a distinguished road

      0  

    Default


    @harleyflh75
    I have the same issue that I cannot access the phonegap build with a webbrowser. I think the problem is that the cordova lib is not able to load if you dont run it on a device... My solution is that I just have to build, one for native and one for web without cordova.
    But I would also be interested in a better solution.

    And here is just a quick tipp I want to share:
    I had to manually delete the _ios.built file befor every new "sencha app build package".
    But its possible to modify the build.xml ant script like this:

    build.xml
    Code:
    <target name="-after-clean">        
        <delete file="${build.dir}/_ios.built" />
    </target>
    If you add those line after
    Code:
    <target name="-after-build" depends="-build-ios" />
    the _ios.built file gets deleted before every build...

  8. #108
    Sencha User
    Join Date
    Jun 2013
    Posts
    59
    Vote Rating
    3
    good_c_ryan_19 is on a distinguished road

      0  

    Default


    Good day Brice ,

    Is there new update for Windows Build for iOS? I have been successfully created Android Build on
    Windows but failed on iOS. Im using sencha compilier to create iOS native on Windows 7 but im not enable to integrate phonegap on my App.

    I got this error below:

    sencha-cordova-windows.png

    Thanks and Regards

  9. #109
    Sencha User
    Join Date
    Sep 2013
    Posts
    1
    Vote Rating
    0
    LucasRochaBR is on a distinguished road

      0  

    Default Cordova build results in ´cordova´ is undefined

    Cordova build results in ´cordova´ is undefined


    win 7 , sencha 2.2.1 , cordova2.9, sencha cmd 3.1.*, latest sencha touch builder(downloaded 19/09/2013)

    hello all,

    after run > sencha app build package

    i go to C:\sencha\apps\my-app2\build\MyApp2\android\cordova>

    and hit build

    then i got the end of the executed scripted >

    [mkdir] Created dir: C:\sencha\apps\my-app2\build\MyApp2\android\bin
    [mkdir] Created dir: C:\sencha\apps\my-app2\build\MyApp2\android\bin\res
    [mkdir] Created dir: C:\sencha\apps\my-app2\build\MyApp2\android\bin\rsObj
    [mkdir] Created dir: C:\sencha\apps\my-app2\build\MyApp2\android\bin\rsLibs
    [mkdir] Created dir: C:\sencha\apps\my-app2\build\MyApp2\android\gen
    [mkdir] Created dir: C:\sencha\apps\my-app2\build\MyApp2\android\bin\classes


    C:\sencha\apps\my-app2\build\MyApp2\android\cordova\lib\cordova.js(610, 1) Micro
    soft JScript runtime error: 'cordova' is undefined

    with thar my APK is no generated

    Help me please

    tanx

  10. #110
    Sencha User
    Join Date
    Nov 2013
    Posts
    1
    Vote Rating
    0
    anxin is on a distinguished road

      0  

    Default


    I used cordova 2.9.0, in this version, the cordova.js has no version in its name,so I changed such code:
    Code:
     <property name="cordova.android.tools.js" value="${cordova.android.project.www}/cordova-${cordova.lib.version}.js" />
    in the build-cordova-android.xml into:
    Code:
    <property name="cordova.android.tools.js" value="${cordova.android.project.www}/cordova.js" />
    and it worked!but, when it is going to update app.json file, add the cordova-android.js to it,it went wrong:
    Code:
    [INF] -before-init-android-internal:[INF]
    [INF] -init-android-internal:
    [INF]
    [INF] -after-init-android-internal:
    [INF]
    [INF] -init-android:
    [INF]
    [INF] -before-build-android-internal:
    [INF]
    [INF] -before-build-android:
    [INF]
    [INF] -build-android-internal:
    [INF]      [echo] building android...
    [INF]      [echo] backing up app.json to app.json.bak
    [INF]      [echo] app.json was backed up successfully
    [INF]      [echo] modifying app.json to include E:\project\transport\cordova-and
    roid.js javascript
    [INF]
    [INF] -modify-app-json:
    [ERR] The following error occurred while executing this line:
    E:\project\sencha-cordova-builder\build-cordova-android.xml:90: The following er
    ror occurred while executing this line:
    E:\project\sencha-cordova-builder\util-cordova.xml:24: javax.script.ScriptExcept
    ion: sun.org.mozilla.javascript.internal.WrappedException: Wrapped org.json.JSON
    Exception: Missing value at character 735 (<Unknown source>#28) in <Unknown sour
    ce> at line number 28
    can any one help me?
    Last edited by anxin; 27 Nov 2013 at 11:43 PM. Reason: the format of the content is not suitable

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi