Ubuntu mobile APP development and learning (1)
# Related URLs
Http://developer.Ubuntu.com/zh-cn/apps/sdk/
0. Set up the environment
A Ubuntu 14.04 operating system is preferred. You have installed a virtual machine.
Do not update the operating system after the system is installed. If the Ubuntu SDK is installed after the upgrade, the following error occurs:
The following packages have unmet dependencies:
Libcogl15: Depends: libc6 (> = 2.17) but 2.19-0ubuntu6. 6 is to be installed
Depends: libdrm2 (> = 2.4.17) but 2.4.56-1 ~ Ubuntu2 is to be installed
Depends: libegl1-x11 but it is a virtual package
Depends: libgbm1 (>=8.1 ~ 0) but 10.1.3-0ubuntu0. 3 is to be installed
Depends: libgdk-pixbuf2.0-0 (> = 2.22.0) but 2.30.7-0ubuntu1 is to be installed
Depends: libglib2.0-0 (> = 2.32.0) but 2.40.2-0ubuntu1 is to be installed
Depends: libxdamage1 (> =. 1) but. 1.4-1ubuntu1 is to be installed
Depends: libxrandr2 (> = 2:1. 2.0) but 2:1. 4.2-1 is to be installed
1. Install the SDK
Official Installation Method: http://developer.ubuntu.com/zh-cn/start/ubuntu-sdk/installing-the-sdk/
After installing this method, I did not find the Ubuntu SDK in "search for" Ubuntu SDK "in the Unity Dash Applications lens" in the official documentation.
Open the Ubuntu Software Center, search for the Ubuntu SDK, and click Install.
(Ps: Because I have already installed it, The Install button in the lower right corner is changed to Remove ).
2. Download the Toolkit
Official Description: http://developer.ubuntu.com/zh-cn/apps/sdk/tutorials/click-targets-and-device-kits/
Before writing code, you need to download a toolkit for Ubuntu mobile phones.
Read the official instructions carefully before creating the instance. When selecting a architecture, we recommend that you select amrfh.
Three architectures available: armfh, i386, and amd64
• Amrfh is a common ARM architecture on mobile phones, tablets, and desktops.
• I386 is usually used for early desktop (32-bit)
• Amd64 is a 64-bit architecture used on most of the latest computers
Note: The simulator can use any architecture.
By http://developer.ubuntu.com/zh-cn/apps/sdk/tutorials/click-targets-and-device-kits/
In the process, you need to download a series of content and wait patiently, depending on the network situation.
Download, install, and configure Ubuntu 14.04
Ubuntu 14.04 system:
Ubuntu 14.04 text tutorial on hard drive installation in Windows 7