Hi David,

thank you very much.

Not sure how to install cordova-lib 6.0, but I've added the cordova-ubuntu from git to my project and now it's working. Finally i see the nice little cordova logo on my phone. :D

Just one thing i noticed: The icon setting in defaults.xml points to "www/icon/logo.png", which is wrong. With this path the "www" is doubled as an end result. It should actually be "icon/logo.png". Everything else is working so far. Let's see if i get the twitter app working. :)

Btw. sorry for writing twice to the mailing list. I thought my first mail wasn't submitted correctly, since it didn't show up.



Am 04.01.2016 um 19:08 schrieb David Barth:
Hi Ferdinand,

The issue you are having is due to a too recent upstream cordova-cli. Cordova has changed quite a bit in how the core interacts with platforms and this is one of the issues that was created.

You can run cordova 5.4.1 or newer, but be sure to install [email protected] which has the fixes I made to make it work with Ubuntu.

Alternatively, you can install the cordova-cli packages I released in the ppa: https://launchpad.net/~cordova-ubuntu/+archive/ubuntu/ppa <https://launchpad.net/%7Ecordova-ubuntu/+archive/ubuntu/ppa>
That one contains a cordova-cli 4.3.1 with patched cordova-lib.

Last If you want to have the 15.04 framework by default, you can now take the latest cordova-ubuntu (just in the release process), currently available with cordova platform add https://git-wip-us.apache.org/repos/asf/cordova-ubuntu.git#4.3.2

Once that last one is voted up and pushed to npm, it should be less painful to use upstream cordova-cli with npm.

Thanks for your feedback and let me know how it goes.

David



On Sun, Dec 27, 2015 at 10:39 AM, Ferdinand Holzner <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    i'm trying to create a Twitter app with cordova. Sadly i have some
    problems to get it building. At first i searched hours to find out
    how to replace 14.10 as a default framework for cordova. After i
    finally found it, i thought now it would be easy. But no, there is
    another error coming up...

    Full log:
    http://pastebin.com/iqYLjvRD

    Important part:
    /-- Generating done//
    //-- Build files have been written to:
    
/home/ferdl/Projekte/cordova/Twibu/platforms/ubuntu/ubuntu-sdk-15.04/armhf/build//
    //find . -name AutomocInfo.cmake | xargs sed -i
    's;AM_QT_MOC_EXECUTABLE .*;AM_QT_MOC_EXECUTABLE
    "/usr/lib/'$(dpkg-architecture
    -qDEB_BUILD_MULTIARCH)'/qt5/bin/moc");'//
    //sed: Keine Eingabedateien//
    //find . -name AutomocInfo.cmake | xargs sed -i
    's;AM_QT_MOC_EXECUTABLE .*;AM_QT_MOC_EXECUTABLE
    "/usr/lib/'$(dpkg-architecture
    -qDEB_BUILD_MULTIARCH)'/qt5/bin/moc");' FAILED//
    //sed: Keine Eingabedateien/

    Would be nice if someone could tell me, how to solve this problem.
    And please, someone update the documentation...

    Cordova -v : 5.4.1
    cordova-ubuntu: 4.3.1

    According to cordova git, it should actually support 15.04. I
    don't quite understand, why it's still using 14.10. -.-

    --
    Mailing list: https://launchpad.net/~ubuntu-phone
    <https://launchpad.net/%7Eubuntu-phone>
    Post to     : [email protected]
    <mailto:[email protected]>
    Unsubscribe : https://launchpad.net/~ubuntu-phone
    <https://launchpad.net/%7Eubuntu-phone>
    More help   : https://help.launchpad.net/ListHelp



-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to