Ubuntu 16.04 LTS and Ubuntu SDK - errors for fresh install of ubuntu sdk
NickName:Tlabs Ask DateTime:2016-05-01T20:49:44

Ubuntu 16.04 LTS and Ubuntu SDK - errors for fresh install of ubuntu sdk

I started to study the development of Ubuntu for the mobile world. I write here what I did to install the development environment.

I hope someone can help me. Thanks to everyone!

  1. Fresh installation of Ubuntu 16.04 LTS Desktop
  2. Update and upgrade it
  3. In according to communication of Zoltán Balogh of 2016-April and the installation guide of Ubuntu SDK, I followed this instructions sequence:
  • sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
  • sudo apt update && sudo apt install ubuntu-sdk
  • sudo apt update && sudo apt dist-upgrade
  • sudo apt install ubuntu-sdk-api-15.04-armhf
  • sudo apt update && sudo apt install ubuntu-sdk-ide ubuntu-sdk-dev

https://lists.ubuntu.com/archives/ubuntu-devel/2016-April/039322.html

  1. Well! I started to use IDE and I received the update notification of ubuntu-sdk-15.04-armhf kit. I don't accepted the request update. At this time I have this content for armhf kit:

ls -l /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/

drwxr-xr-x 11 root root 4096 gen 22 20:29 Components
drwxr-xr-x  2 root root 4096 gen 22 20:28 Content
drwxr-xr-x  2 root root 4096 gen 22 20:30 DownloadManager
drwxr-xr-x  2 root root 4096 gen 22 20:29 Layouts
drwxr-xr-x  2 root root 4096 gen 22 20:28 MediaScanner.0.1
drwxr-xr-x  3 root root 4096 gen 22 20:30 OnlineAccounts
drwxr-xr-x  2 root root 4096 gen 22 20:29 PerformanceMetrics
drwxr-xr-x  2 root root 4096 gen 22 20:30 PushNotifications
drwxr-xr-x  2 root root 4096 gen 22 20:28 SyncMonitor
drwxr-xr-x  3 root root 4096 gen 22 20:29 Telephony
drwxr-xr-x  2 root root 4096 gen 22 20:29 Test
drwxr-xr-x  3 root root 4096 gen 22 20:29 Unity
  1. I created my first project from this template: QML App with Simple UI(qmake) - (QtQuick2 app with kit using 15.04 click root)

I have an error on Main.qml for import Ubuntu.Components 1.3

[11:58:52] ii click-reviewers-tools 0.42

Warnings while parsing QML type information of /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components:

Failed to parse "/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes". Error: /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1443:39: Meta object revision without matching export. /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1452:39: Meta object revision without matching export. /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1470:39: Meta object revision without matching export. Warnings while parsing QML type information of /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/QtMultimedia: Failed to parse "/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/QtMultimedia/plugins.qmltypes". Error: /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/QtMultimedia/plugins.qmltypes:0:0: Expected a single import.

  1. Ok, I close ide and reopen it. Well, I accept request update for kits: ubuntu-sdk-15.04-armhf and ubuntu-sdk-15.04-i386

    Now I have this content for amrhf kit

ls -l /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/

  drwxr-xr-x 2 root root 4096 mag  1 12:16 Content
  drwxr-xr-x 2 root root 4096 mag  1 12:16 DownloadManager
  drwxr-xr-x 2 root root 4096 mag  1 12:16 Layouts
  drwxr-xr-x 2 root root 4096 mag  1 12:16 MediaScanner.0.1
  drwxr-xr-x 3 root root 4096 gen 22 20:30 OnlineAccounts
  drwxr-xr-x 2 root root 4096 mag  1 12:16 PerformanceMetrics
  drwxr-xr-x 2 root root 4096 mag  1 12:16 SyncMonitor
  drwxr-xr-x 3 root root 4096 gen 22 20:29 Unity

The following folders have been deleted after the update request---is it correct?

drwxr-xr-x 11 root root 4096 gen 22 20:29 Components
drwxr-xr-x  2 root root 4096 gen 22 20:30 PushNotifications
drwxr-xr-x  3 root root 4096 gen 22 20:29 Telephony
drwxr-xr-x  2 root root 4096 gen 22 20:29 Test
  1. Now I have this error on import Ubuntu.Components 1.3:
QML module not found
  import paths /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml
  For qmake project use QML_IMPORT_PATH variable to add import paths
  1. My qtchooser and qmake version command output:
qtchooser -l
  4
  5
  default
  qt4-x86_64-linux-gnu
  qt4
  qt5-x86_64-linux-gnu
  qt5
  --------
  --------
qmake -version
  QMake version 3.0
  Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu

Copyright Notice:Content Author:「Tlabs」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/36966847/ubuntu-16-04-lts-and-ubuntu-sdk-errors-for-fresh-install-of-ubuntu-sdk

More about “Ubuntu 16.04 LTS and Ubuntu SDK - errors for fresh install of ubuntu sdk” related questions

Ubuntu 16.04 LTS and Ubuntu SDK - errors for fresh install of ubuntu sdk

I started to study the development of Ubuntu for the mobile world. I write here what I did to install the development environment. I hope someone can help me. Thanks to everyone! Fresh installati...

Show Detail

Install numba 0.30.1 on ubuntu 16.04 lts

How do I install the current version (0.30.1) of numba for Python 3 on Ubuntu 16.04 LTS? My version of Python is 3.5.2, and I have a barebones install of Ubuntu (server edition I think)

Show Detail

Cannot install dotnet-sdk2.1 on Ubuntu 16.04 server

I was trying to install dotnet-sdk2.1.101 on my Ubuntu 16.04 server today but following error occured: "dotnet-sdk-2.1.101 : Depends: aspnetcore-store-2.0.6 but it but it is not going to be insta...

Show Detail

Is it possible to install MongoDB on 32 bit Ubuntu 16.04 LTS?

I just want to install MongoDB on my 32 bit Ubuntu 16.04 LTS laptop, but i found something on their page that say : PLATFORM SUPPORT MongoDB only provides packages for 64-bit LTS (long-term s...

Show Detail

How to install Mongodb PHP extension in Ubuntu 16.04 LTS

I'm running Ubuntu 16.04 LTS and I want to use Mongodb with PHP. For this I thought that sudo apt-get install php5-mongo (which is enough for Ubuntu 14.04 LTS) would be enough but I was wrong. I'm

Show Detail

How to install Bower on Ubuntu 16.04 LTS

I'm trying to compile some front end code on my Ubuntu 16.04 web server that was written on Windows. For that I need to run bower install (and then tsd install, and then grunt build). But I can't ...

Show Detail

Install imutils using conda in Ubuntu 16.04 LTS

Hi, I am working in computer vision projects, I installed python 3.5 using anaconda in my laptop (Ubunut16.04 LTS). Can you please tell me, How I install imutils using conda in my ubuntu 16.04 LTS....

Show Detail

Install Intel OpenCL SDK on Ubuntu 16.04

I'd like to ask for help on installing Intel OpenCL SDK as described here Linux with Intel® SDK for OpenCL I have followed those steps but then I need to run SDK installer or use this archive to ...

Show Detail

Cisco VPN client on Ubuntu 16.04 LTS

I am trying to install Cisco VPN Client on Ubuntu, but I am facing problems. So How can I install it on Ubuntu 16.04 LTS ?

Show Detail

How to install phpunit in ubuntu 16.04 LTS?

I have ubuntu 16.04 LTS and I want to install phpunit for PHP 7.1 through terminal. I do the same steps as in https://phpunit.de/getting-started/phpunit-7.html but I always have PHPUnit 5.1.3 inste...

Show Detail