1. #11
    Sencha User
    Join Date
    May 2012
    Location
    rome
    Posts
    68
    Vote Rating
    0
    Answers
    3
    alexdran is on a distinguished road

      0  

    Default


    hello all

    the proposed solution is not working to me

    I have built the application and tried to copy the folder content
    production/

    or

    package/

    in the build/ directory created in the eclipse project www/ directory
    created with phonegap plugin (owerwriting content)


    I continue to get "connection to server was unsuccesful (file:///android_asset/www/index.thml)


    can you please help? is there a guide step by step on how to import senchaTouch2 app into eclipse and run from there (and from AndroidEmulator)?


    thank you in advance
    Alessandro

  2. #12
    Sencha User
    Join Date
    May 2012
    Location
    rome
    Posts
    68
    Vote Rating
    0
    Answers
    3
    alexdran is on a distinguished road

      0  

    Default


    timeout problem

    for who is interested with the same problem see


    http://stackoverflow.com/questions/9...-webviewclient

    hope it's helpful as it was for me

    alex

  3. #13
    Sencha User
    Join Date
    Jun 2012
    Posts
    136
    Vote Rating
    1
    Answers
    8
    munder is on a distinguished road

      0  

    Default


    I have the same error
    Unexpected token ) in index.html, allegedly at line 1, though there is no unpaired parenthesis there or anywhere else in index.html.
    I did do a Sencha build on the project and then copied the files from the build directory into the assets/www directory of the eclipse/phonegap project, but the error persists.
    Anybody have an idea what's going on?

  4. #14
    Sencha User
    Join Date
    Jun 2012
    Posts
    136
    Vote Rating
    1
    Answers
    8
    munder is on a distinguished road

      0  

    Default


    I have the same error<br>Unexpected token ) in index.html, allegedly at line 1, though there is no unpaired parenthesis there or anywhere else in index.html.<br>I did do a Sencha build on the project and then copied the files from the sencha app directory into the assets/www directory of the eclipse/phonegap project, but the error persists.<br>Anybody have an idea what's going on?

  5. #15
    Sencha User
    Join Date
    Jun 2012
    Posts
    136
    Vote Rating
    1
    Answers
    8
    munder is on a distinguished road

      0  

    Default


    Hi
    I had the same error, so did a sencha build as recommended and then copied the files to the eclipse/phonegap project. The problem remained. After a while, I realized I hadn't copied across app.json, which is required by the microloader script. Once I had copied that across, the error changed to an unexpected token "{" at line 24 in index.html. That was clearly wrong, as there was no error at line 24, so I cleaned up app.json, where there were some errors, and the problem went away.
    I hope that helps somebody.